commit | 663f4c61b8036fd3a80debbe00b58d198ae63e76 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 25 18:32:07 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jul 29 09:01:14 2013 +0200 |
tree | e770c4d4ad8ced0f7f7e351749293fa85d79bbe8 | |
parent | 4a1e10d5b5d8c5ebe0908fb9d3859a5602bf5cf1 [diff] |
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