|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [XTF PATCH 01/16] vvmx: test whether VMX feature is present in CPUID
On 12/16/16 14:40 +0000, Andrew Cooper wrote: On 16/12/16 13:43, Haozhong Zhang wrote: Ah yes, it's what I want.
ditto
will change + return; Your suggestion is more clear and I'll change. + } + + if ( !test_cpuid_vmx_feat() ) + goto fail;Are you intending to do converse tests? We have had security issues in the past where some of the nested-virt code in Xen was reachable from a guest even through the feature was intended to be fully disabled. I should follow the pseudo code in Intel SDM more closely, as the pseudo code has a branch saying if vmxon is executed w/o VMX support, there will be some errors. I'll add test cases for such circumstance. Haozhong _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |