commit | a3a8ff8ebf87cbd828f54276d902c3c8ee0c4781 | [log] [tgz] |
---|---|---|
author | Nadav Har'El <nyh@il.ibm.com> | Wed May 25 23:09:01 2011 +0300 |
committer | Avi Kivity <avi@redhat.com> | Tue Jul 12 11:45:14 2011 +0300 |
tree | cec59762740530e9120e1df76deea620e1ddea36 | |
parent | 49f705c5324aa13bb5623b392c23996e23eabc23 [diff] |
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>