Re: [PATCH v2 1/2] kvm/vmx: avoid CPUID faulting leaking to guest

2019-03-19 Thread Sean Christopherson
On Tue, Mar 19, 2019 at 12:26:55PM +0800, Xiaoyao Li wrote: > Hi, Sean, > > On Mon, 2019-03-18 at 09:23 -0700, Sean Christopherson wrote: > > On Mon, Mar 18, 2019 at 07:43:23PM +0800, Xiaoyao Li wrote: > > > cpuid faulting is a feature about CPUID instruction. When cpuif faulting > > > >

Re: [PATCH v2 1/2] kvm/vmx: avoid CPUID faulting leaking to guest

2019-03-18 Thread Sean Christopherson
On Mon, Mar 18, 2019 at 07:43:23PM +0800, Xiaoyao Li wrote: > cpuid faulting is a feature about CPUID instruction. When cpuif faulting ^ cpuid > is enabled, all execution of

[PATCH v2 1/2] kvm/vmx: avoid CPUID faulting leaking to guest

2019-03-18 Thread Xiaoyao Li
cpuid faulting is a feature about CPUID instruction. When cpuif faulting is enabled, all execution of the CPUID instruction outside system-management mode (SMM) cause a general-protection (#GP) if the CPL > 0. About this feature, detailed information can be found at