]> git.proxmox.com Git - mirror_qemu.git/commit - target-i386/kvm.c
kvm: Synchronize cpu state in kvm_arch_stop_on_emulation_error()
authorGleb Natapov <gleb@redhat.com>
Thu, 16 Feb 2012 09:12:51 +0000 (11:12 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 16 Feb 2012 16:21:46 +0000 (18:21 +0200)
commitd1f866366070d09ff5c467efb0a64ac582e3aa5d
treeeb0d96b918f5fd75f940c358034ba53be594c8e3
parent6c263e26a5c162a8cd79e32bb82422697db5c57c
kvm: Synchronize cpu state in kvm_arch_stop_on_emulation_error()

Call to kvm_cpu_synchronize_state() is missing.
kvm_arch_stop_on_emulation_error may look at outdated registers here.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
target-i386/kvm.c