KVM: Move vmx_vcpu_reset() out of vmx_vcpu_setup()
authorAvi Kivity <avi@qumranet.com>
Sun, 21 Oct 2007 09:00:39 +0000 (11:00 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:55 +0000 (17:52 +0200)
commite00c8cf29b9798eb9918469b0cce1766e0ae40d7
tree2824cf4bfffc96faeda6981a790295c2e4f49690
parent34c16eecf78ed4cf01f39ac7211f5b57942ec899
KVM: Move vmx_vcpu_reset() out of vmx_vcpu_setup()

Split guest reset code out of vmx_vcpu_setup().  Besides being cleaner, this
moves the realmode tss setup (which can sleep) outside vmx_vcpu_setup()
(which is executed with preemption enabled).

[izik: remove unused variable]

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/svm.c
drivers/kvm/vmx.c
This page took 0.027827 seconds and 5 git commands to generate.