KVM: x86: Do not clear RFLAGS.TF when a singlestep trap occurs.
authorKyle Huey <me@kylehuey.com>
Tue, 29 Nov 2016 20:40:41 +0000 (12:40 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Dec 2016 14:31:06 +0000 (15:31 +0100)
commitea07e42dec5644105db8a853575a0a271f93d294
tree9985a9e1aecb7a127256ece8a4ba1d2d65217e18
parent6affcbedcac79b01c8d01948a693461040133e46
KVM: x86: Do not clear RFLAGS.TF when a singlestep trap occurs.

The trap flag stays set until software clears it.

Signed-off-by: Kyle Huey <khuey@kylehuey.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/x86.c