qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 6/9] kvm/x86: mark hyper-v crash msrs as partiti


From: Peter Hornyack
Subject: Re: [Qemu-devel] [PATCH 6/9] kvm/x86: mark hyper-v crash msrs as partition wide
Date: Tue, 30 Jun 2015 17:15:17 -0700

On Tue, Jun 30, 2015 at 4:33 AM, Denis V. Lunev <address@hidden> wrote:
> From: Andrey Smetanin <address@hidden>
>
> Hyper-V crash msr's are per vm, aren't per vcpu, so mark them
> as partition wide.
>
> Signed-off-by: Andrey Smetanin <address@hidden>
> Signed-off-by: Denis V. Lunev <address@hidden>
> CC: Paolo Bonzini <address@hidden>
> CC: Gleb Natapov <address@hidden>
Reviewed-by: Peter Hornyack <address@hidden>

> ---
>  arch/x86/kvm/hyperv.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c
> index 2b49f10..af83c96 100644
> --- a/arch/x86/kvm/hyperv.c
> +++ b/arch/x86/kvm/hyperv.c
> @@ -39,6 +39,8 @@ static bool kvm_hv_msr_partition_wide(u32 msr)
>         case HV_X64_MSR_HYPERCALL:
>         case HV_X64_MSR_REFERENCE_TSC:
>         case HV_X64_MSR_TIME_REF_COUNT:
> +       case HV_X64_MSR_CRASH_CTL:
> +       case HV_X64_MSR_CRASH_P0 ... HV_X64_MSR_CRASH_P4:
>                 r = true;
>                 break;
>         }
> --
> 2.1.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to address@hidden
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]