]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Consolidate register usage in vmx_vcpu_run()
authorAvi Kivity <avi@qumranet.com>
Thu, 15 Nov 2007 16:06:18 +0000 (18:06 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:03 +0000 (17:53 +0200)
commit4988b99a02fccdd72d3130e2139b09b10c730ba4
tree9500388b13c6365a39b89d0fa18d3d16c2ae872a
parent0da69384c360c9aaed513edc7e11fee0ad78215e
KVM: VMX: Consolidate register usage in vmx_vcpu_run()

We pass vcpu, vmx->fail, and vmx->launched to assembly code, but all three
are fields within vmx.  Consolidate by only passing in vmx and offsets for
the rest.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c