Re: [PATCH 2/2] KVM: SVM: Add support for VMCB address check change

2021-01-14 Thread Maxim Levitsky
On Tue, 2021-01-12 at 00:37 -0600, Wei Huang wrote: > New AMD CPUs have a change that checks VMEXIT intercept on special SVM > instructions before checking their EAX against reserved memory region. > This change is indicated by CPUID_0x800A_EDX[28]. If it is 1, KVM > doesn't need to intercept

Re: [PATCH 2/2] KVM: SVM: Add support for VMCB address check change

2021-01-14 Thread Maxim Levitsky
On Tue, 2021-01-12 at 11:18 -0800, Sean Christopherson wrote: > On Tue, Jan 12, 2021, Wei Huang wrote: > > New AMD CPUs have a change that checks VMEXIT intercept on special SVM > > instructions before checking their EAX against reserved memory region. > > This change is indicated by

Re: [PATCH 2/2] KVM: SVM: Add support for VMCB address check change

2021-01-12 Thread Sean Christopherson
On Tue, Jan 12, 2021, Wei Huang wrote: > New AMD CPUs have a change that checks VMEXIT intercept on special SVM > instructions before checking their EAX against reserved memory region. > This change is indicated by CPUID_0x800A_EDX[28]. If it is 1, KVM > doesn't need to intercept and emulate

[PATCH 2/2] KVM: SVM: Add support for VMCB address check change

2021-01-11 Thread Wei Huang
New AMD CPUs have a change that checks VMEXIT intercept on special SVM instructions before checking their EAX against reserved memory region. This change is indicated by CPUID_0x800A_EDX[28]. If it is 1, KVM doesn't need to intercept and emulate #GP faults for such instructions because #GP