kvm: Fix eflags corruption in kvm mode
commit999ceb2c1d77fcb060053427cbeafba8967dd827
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 19 Feb 2010 17:21:20 +0000 (19 18:21 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 21 Feb 2010 09:13:19 +0000 (21 11:13 +0200)
treeadd311870309f6cbedba49881ab0598ed0f2e89d
parent307331a42a39b46487f8f4356eaa943101f6af4e
kvm: Fix eflags corruption in kvm mode

This should explain a lot of the weird breakages of upstream KVM we've
seen recently (actually we should have seen it much earlier):

Stop translating eflags into TCG format when in kvm mode as we never
translate it back and rather sync this broken state into the kernel.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
cpu-exec.c