All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: billz@fastmail.fm
Cc: kvm@vger.kernel.org
Subject: Re: QUESTION: INT1 instruction for breakpoints
Date: Mon, 6 Mar 2023 13:03:06 -0800	[thread overview]
Message-ID: <ZAZVCosmv+KXA8mO@google.com> (raw)
In-Reply-To: <000b01d94b66$4be1d8e0$e3a58aa0$@fastmail.fm>

On Tue, Feb 28, 2023, billz@fastmail.fm 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.

      reply	other threads:[~2023-03-06 21:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28 11:17 QUESTION: INT1 instruction for breakpoints billz
2023-03-06 21:03 ` Sean Christopherson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZAZVCosmv+KXA8mO@google.com \
    --to=seanjc@google.com \
    --cc=billz@fastmail.fm \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.