Re: [PATCH 2/5] KVM: nVMX: add KVM_CAP_HYPERV_ENLIGHTENED_VMCS capability

2018-06-15 Thread Vitaly Kuznetsov
Liran Alon writes: > - vkuzn...@redhat.com wrote: > >> Enlightened VMCS is opt-in. The current version does not contain all >> fields supported by nested VMX so we must not advertise the >> corresponding VMX features if enlightened VMCS is enabled. >> >> Userspace is given the enlightened VM

Re: [PATCH 2/5] KVM: nVMX: add KVM_CAP_HYPERV_ENLIGHTENED_VMCS capability

2018-06-14 Thread Liran Alon
- vkuzn...@redhat.com wrote: > Enlightened VMCS is opt-in. The current version does not contain all > fields supported by nested VMX so we must not advertise the > corresponding VMX features if enlightened VMCS is enabled. > > Userspace is given the enlightened VMCS version supported by KVM

[PATCH 2/5] KVM: nVMX: add KVM_CAP_HYPERV_ENLIGHTENED_VMCS capability

2018-06-14 Thread Vitaly Kuznetsov
Enlightened VMCS is opt-in. The current version does not contain all fields supported by nested VMX so we must not advertise the corresponding VMX features if enlightened VMCS is enabled. Userspace is given the enlightened VMCS version supported by KVM as part of enabling KVM_CAP_HYPERV_ENLIGHTENE