mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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>
This commit is contained in:
parent
ac0a48c39a
commit
4a1e10d5b5
1 changed files with 66 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue