Re: [PATCH RFC 2/3] x86/kvm/hyper-v: move VMX controls sanitization out of nested_enable_evmcs()

Paolo Bonzini
2020-01-18T21:42:38Z

On 16/01/20 17:19, Sean Christopherson wrote:
> Why not just do this in Qemu? IMO that's not a major ask, e.g. Qemu is
> doing a decent amount of manual adjustment anyways. And Qemu isn't even
> using the result of KVM_GET_MSRS so I don't think it's fair to say this is
> solely KVM's fault.

IMHO the features should stay available in case the guest chooses not to
use eVMCS. A guest that uses eVMCS should know which features it cannot
use and not enable them.

Paolo