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)
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>

No differences found