Re: [PATCH 2/2] KVM: nVMX: Fix emulation of VM_ENTRY_LOAD_BNDCFGS

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

 




> On 13 Sep 2018, at 16:59, Sean Christopherson <sean.j.christopherson@xxxxxxxxx> wrote:
> 
> After reading through the existing code a bit more, I think all calls
> to vmx_mpx_supported() should be replaced with kvm_mpx_supported().
> The KVM version returns true iff MPX is enabled in the host, and was
> added by commit a87036add092 ("KVM: x86: disable MPX if host did not
> enable MPX XSAVE features").

I agree.
This should also include the call kvm_x86_ops->mpx_supported() inside kvm_init_msr_list().
Do you think it is preferable to do your suggested patch before or after the patch discussed in this email thread?

-Liran





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux