KVM: nVMX: rearrange get_vmx_mem_address
authorBandan Das <bsd@redhat.com>
Tue, 6 May 2014 06:19:15 +0000 (02:19 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 May 2014 16:59:57 +0000 (18:59 +0200)
commit19677e32fe7d6913e07ce80f6f3dc7663ac7fe67
tree28e68e063a8e84b22e58e1428fa49ec307834575
parent2ce316f0b9b2103e27585180b6aa6f17f0175f0e
KVM: nVMX: rearrange get_vmx_mem_address

Our common function for vmptr checks (in 2/4) needs to fetch
the memory address

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c