Re: [PATCH 3/3] KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when it is available

2019-08-28 Thread Vitaly Kuznetsov
Sean Christopherson writes: > On Tue, Aug 27, 2019 at 09:54:39AM -0700, Jim Mattson wrote: >> On Tue, Aug 27, 2019 at 9:04 AM Vitaly Kuznetsov wrote: >> > >> > It was discovered that after commit 65efa61dc0d5 ("selftests: kvm: provide >> > common function to enable eVMCS") hyperv_cpuid selftest

Re: [PATCH 3/3] KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when it is available

2019-08-27 Thread Sean Christopherson
On Tue, Aug 27, 2019 at 09:54:39AM -0700, Jim Mattson wrote: > On Tue, Aug 27, 2019 at 9:04 AM Vitaly Kuznetsov wrote: > > > > It was discovered that after commit 65efa61dc0d5 ("selftests: kvm: provide > > common function to enable eVMCS") hyperv_cpuid selftest is failing on AMD. > > The reason

Re: [PATCH 3/3] KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when it is available

2019-08-27 Thread Jim Mattson
On Tue, Aug 27, 2019 at 9:04 AM Vitaly Kuznetsov wrote: > > It was discovered that after commit 65efa61dc0d5 ("selftests: kvm: provide > common function to enable eVMCS") hyperv_cpuid selftest is failing on AMD. > The reason is that the commit changed _vcpu_ioctl() to vcpu_ioctl() in the > test

[PATCH 3/3] KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when it is available

2019-08-27 Thread Vitaly Kuznetsov
It was discovered that after commit 65efa61dc0d5 ("selftests: kvm: provide common function to enable eVMCS") hyperv_cpuid selftest is failing on AMD. The reason is that the commit changed _vcpu_ioctl() to vcpu_ioctl() in the test and this one can't fail. Instead of fixing the test is seems to