[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47cc28ee-8c33-6859-c3b8-95f6d065d0cd@redhat.com>
Date: Sat, 26 Jan 2019 09:11:04 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Vitaly Kuznetsov <vkuznets@...hat.com>, kvm@...r.kernel.org
Cc: Radim Krčmář <rkrcmar@...hat.com>,
Roman Kagan <rkagan@...tuozzo.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/kvm/hyper-v: don't announce GUEST IDLE MSR support
On 24/01/19 15:27, Vitaly Kuznetsov wrote:
> HV_X64_MSR_GUEST_IDLE_AVAILABLE appeared in kvm_vcpu_ioctl_get_hv_cpuid()
> by mistake: it announces support for HV_X64_MSR_GUEST_IDLE (0x400000F0)
> which we don't support in KVM (yet).
>
> Fixes: 2bc39970e932 ("x86/kvm/hyper-v: Introduce KVM_GET_SUPPORTED_HV_CPUID")
> Signed-off-by: Vitaly Kuznetsov <vkuznets@...hat.com>
> ---
> arch/x86/kvm/hyperv.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c
> index c90a5352d158..ac44a681f065 100644
> --- a/arch/x86/kvm/hyperv.c
> +++ b/arch/x86/kvm/hyperv.c
> @@ -1832,7 +1832,6 @@ int kvm_vcpu_ioctl_get_hv_cpuid(struct kvm_vcpu *vcpu, struct kvm_cpuid2 *cpuid,
> ent->eax |= HV_X64_MSR_VP_INDEX_AVAILABLE;
> ent->eax |= HV_X64_MSR_RESET_AVAILABLE;
> ent->eax |= HV_MSR_REFERENCE_TSC_AVAILABLE;
> - ent->eax |= HV_X64_MSR_GUEST_IDLE_AVAILABLE;
> ent->eax |= HV_X64_ACCESS_FREQUENCY_MSRS;
> ent->eax |= HV_X64_ACCESS_REENLIGHTENMENT;
>
>
Queued, thanks.
Paolo
Powered by blists - more mailing lists