]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Move handling of INVPCID types to x86
authorBabu Moger <babu.moger@amd.com>
Fri, 11 Sep 2020 19:29:12 +0000 (14:29 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:17 +0000 (07:57 -0400)
commit7558decd1d4bcc31f87a655bd57a78e239aba4d7
tree380f197f4c7a16531a28241ba65eacd6929d2158
parent4042256e94ce84adf546e28d4c39f98cc3bbab67
KVM: X86: Move handling of INVPCID types to x86

INVPCID instruction handling is mostly same across both VMX and
SVM. So, move the code to common x86.c.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Message-Id: <159985255212.11252.10322694343971983487.stgit@bmoger-ubuntu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h