KVM: x86: Preserve injected TF across emulation
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 23 Feb 2010 16:47:59 +0000 (17:47 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 10:52:55 +0000 (13:52 +0300)
commit83bf0002c91b65744db78df36d4f1af27bd9099b
tree1c499c60d4c839329cf33854ffcd1212aeaed448
parentc310bac5a20fc37f761bd7297ba2e52cf40d79c6
KVM: x86: Preserve injected TF across emulation

Call directly into the vendor services for getting/setting rflags in
emulate_instruction to ensure injected TF survives the emulation.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c