]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: x86: Rework guest single-step flag injection and filtering
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 5 Oct 2009 11:07:21 +0000 (13:07 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:14 +0000 (09:32 +0200)
commit91586a3b7d79432772a3cdcb81473cd08a237c79
tree3d5955b02c81485f0fe446649e969251598972c6
parenta68a6a7282373bedba8a2ed751b6384edb983a64
KVM: x86: Rework guest single-step flag injection and filtering

Push TF and RF injection and filtering on guest single-stepping into the
vender get/set_rflags callbacks. This makes the whole mechanism more
robust wrt user space IOCTL order and instruction emulations.

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