commit | 4a1e10d5b5d8c5ebe0908fb9d3859a5602bf5cf1 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu May 30 11:48:30 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jul 29 09:01:14 2013 +0200 |
tree | c9ddc18303f852feff187814c764b45bd21f6697 | |
parent | ac0a48c39af31fe27bdb1afca7b26f109ff1c704 [diff] |
KVM: x86: handle hardware breakpoints during emulation This lets debugging work better during emulation of invalid guest state. The check is done before emulating the instruction, and (in the case of guest debugging) reuses EMULATE_DO_MMIO to exit with KVM_EXIT_DEBUG. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>