]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Bring the common code to header file
authorBabu Moger <babu.moger@amd.com>
Fri, 16 Mar 2018 20:37:24 +0000 (16:37 -0400)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 28 Mar 2018 20:47:06 +0000 (22:47 +0200)
commit395e0ad3ca7211c90b4ed1d0367808a2a6c208d6
treee5de741d9cf03b50bf5f25035347de39c6728b24
parent5f7421979df62cb368940c1cfe4bc55f169827dc
KVM: VMX: Bring the common code to header file

This patch brings some of the code from vmx to x86.h header file. Now, we
can share this code between vmx and svm. Modified couple functions to make
it common.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.h