Move kvm cpu state flush to after kvm_arch_pre_run()
commitfc592970ec1b11bab003fc58d839c1bea7ab80a5
authorAvi Kivity <avi@redhat.com>
Mon, 14 Dec 2009 14:22:39 +0000 (14 16:22 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 14 Dec 2009 14:22:39 +0000 (14 16:22 +0200)
treeefc730b5668e890ece8f71455041278e31dc36c7
parent5585fd117db539e35b6cca57de3cc1f97ee3a538
Move kvm cpu state flush to after kvm_arch_pre_run()

Since kvm_arch_pre_run() can modify state (and does with
kvm tpr patching), this will cause inconsistent state.

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