Re: [PATCH v4] kvm: nVMX: Remove superfluous VMX instruction fault checks

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

 




On 27/04/2017 17:32, Jim Mattson wrote:
> Also, the allowed/required CR0/CR4 bits may not be the same for the
> vCPU as for the physical hardware, so more than just CR4.VMXE may have
> to be checked.

I think we can pass on that.  For CR0 we know the two cases are
fundamentally unrestricted guest and !unrestricted guest, and they both
are covered (via CR0.PE and EFLAGS.VM respectively).

For CR4, we also pretty much know the only FIXED1 bit is VMXE, and
FIXED0 bits match the values that are checked by MOV to CR4.

Paolo



[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