RE: [PATCH v2 1/3] KVM: X86: Move handling of INVPCID types to x86

2020-06-17 Thread Babu Moger
; mi...@redhat.com; b...@alien8.de; > h...@zytor.com; pbonz...@redhat.com; t...@linutronix.de; > jmatt...@google.com > Subject: Re: [PATCH v2 1/3] KVM: X86: Move handling of INVPCID types to x86 > > Babu Moger writes: > > > INVPCID instruction handling is mostly same across both

Re: [PATCH v2 1/3] KVM: X86: Move handling of INVPCID types to x86

2020-06-17 Thread Vitaly Kuznetsov
Babu Moger writes: > INVPCID instruction handling is mostly same across both VMX and > SVM. So, move the code to common x86.c. > > Signed-off-by: Babu Moger > --- > arch/x86/kvm/vmx/vmx.c | 68 + > arch/x86/kvm/x86.c | 79 > ++

[PATCH v2 1/3] KVM: X86: Move handling of INVPCID types to x86

2020-06-16 Thread Babu Moger
INVPCID instruction handling is mostly same across both VMX and SVM. So, move the code to common x86.c. Signed-off-by: Babu Moger --- arch/x86/kvm/vmx/vmx.c | 68 + arch/x86/kvm/x86.c | 79 arch/x86/