Re: [PATCH v2 3/4] KVM: SVM: Add support for VMCB address check change

2021-01-21 Thread Maxim Levitsky
On Thu, 2021-01-21 at 01:55 -0500, 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, #VMEXIT > is triggered before #GP

[PATCH v2 3/4] KVM: SVM: Add support for VMCB address check change

2021-01-20 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, #VMEXIT is triggered before #GP. KVM doesn't need to intercept and emulate #GP faults as #G