]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite08aa78ae5747c6e1dc525e8a40f23c2ea61d757
tree9500388b13c6365a39b89d0fa18d3d16c2ae872a
parent018d00d2fef27fc65f2917bec8f72b93615c18e1
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