QUESTION: INT1 instruction for breakpoints
Is it possible to use the INT1 (instead of INT3) instruction for breakpoints under KVM? It does not seem that this instruction causes a KVM_EXIT_DEBUG (or any other exit) and it is silently skipped instead.
If it is possible, how should I configure the KVM API to receive such exits?
Bill
Sean Christopherson
reviewerQuoted 5 lines · On Tue, Feb 28, 2023, [email protected] wrote:
Is it possible to use the INT1 (instead of INT3) instruction for breakpoints under KVM? It does not seem that this instruction causes a
KVM_EXIT_DEBUG(or any other exit) and it is silently skipped instead.If it is possible, how should I configure the KVM API to receive such exits?
#DBs from INT1, a.k.a. ICEBP, should be forwarded to userspace if KVM_GUESTDBG_USE_HW_BP is set.