Fix loading vcpu register state before system startup
commitba67a003839dec19eb47176bf4af858c965f4f12
authorAvi Kivity <avi@qumranet.com>
Mon, 16 Jun 2008 18:25:16 +0000 (16 11:25 -0700)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jun 2008 18:25:16 +0000 (16 11:25 -0700)
tree9c87e6f8e69036cc14aea52ed27e1e00ffed2e64
parentc19e6e33ac7e827171b8c50093f7925fa56ec99e
Fix loading vcpu register state before system startup

we now load registers only on the vcpu thread, but that is not ready
when the system is starting up.  so defer the loading until the thread
is ready.

fixes live migration.

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