]> 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)
commit0d8bb3a0fc2d415be1b803f8f5bcf1b6f2a27e1a
treee5de741d9cf03b50bf5f25035347de39c6728b24
parentfb8491032777f5c6d49e80d23fcef9cb76f79507
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