KVM: nVMX: Move control field setup to functions
authorNadav Har'El <nyh@il.ibm.com>
Wed, 25 May 2011 20:09:31 +0000 (23:09 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:14 +0000 (11:45 +0300)
commitbf8179a011d40e7322d34440039b5e86a0d03aed
tree1b3cc83c1787d48da7f0f0a6b5370dc0ed4d35cc
parenta3a8ff8ebf87cbd828f54276d902c3c8ee0c4781
KVM: nVMX: Move control field setup to functions

Move some of the control field setup to common functions. These functions will
also be needed for running L2 guests - L0's desires (expressed in these
functions) will be appropriately merged with L1's desires.

Signed-off-by: Nadav Har'El <nyh@il.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c