]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: nVMX: Move host-state field setup to a function
authorNadav Har'El <nyh@il.ibm.com>
Wed, 25 May 2011 20:09:01 +0000 (23:09 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:14 +0000 (11:45 +0300)
commita3a8ff8ebf87cbd828f54276d902c3c8ee0c4781
treecec59762740530e9120e1df76deea620e1ddea36
parent49f705c5324aa13bb5623b392c23996e23eabc23
KVM: nVMX: Move host-state field setup to a function

Move the setting of constant host-state fields (fields that do not change
throughout the life of the guest) from vmx_vcpu_setup to a new common function
vmx_set_constant_host_state(). This function will also be used to set the
host state when running L2 guests.

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