]> www.infradead.org Git - users/dwmw2/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>
Mon, 5 Oct 2009 12:48:30 +0000 (14:48 +0200)
commit705c53231db0c72d5992096ab161125f8d7fc4ef
tree0bfde65c978ff59cedf5484406c7375df5c9337b
parente71586147d5011defe67a6573f97434874743636
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