KVM: x86: handle singlestep during emulation
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 25 Jun 2013 16:32:07 +0000 (18:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Jul 2013 07:01:14 +0000 (09:01 +0200)
commit663f4c61b8036fd3a80debbe00b58d198ae63e76
treee770c4d4ad8ced0f7f7e351749293fa85d79bbe8
parent4a1e10d5b5d8c5ebe0908fb9d3859a5602bf5cf1
KVM: x86: handle singlestep during emulation

This lets debugging work better during emulation of invalid
guest state.

This time the check is done after emulation, but before writeback
of the flags; we need to check the flags *before* execution of the
instruction, we cannot check singlestep_rip because the CS base may
have already been modified.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Conflicts:
arch/x86/kvm/x86.c
arch/x86/kvm/x86.c