Re: [Patch v3] Enable CPU SMEP feature for KVM

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

 



On 05/29/2011 08:16 AM, Li, Xin wrote:
>
>  >  +		else
>  >  +			best->ebx&= ~(bit(X86_FEATURE_SMEP));
>
>  Not needed - x86.c already masks unsupported features.

Should KVM still support guest SMEP when host disables it thru nosmep?

No. We treat nosmep as "no smep for the kernel and any guests". NX is treated in the same way.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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