Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Marc Zyngier <maz@kernel.org>
Cc: Jing Zhang <jingzhangos@google.com>,
	Mostafa Saleh <smostafa@google.com>,  KVM <kvm@vger.kernel.org>,
	KVMARM <kvmarm@lists.linux.dev>,
	 Oliver Upton <oliver.upton@linux.dev>,
	Joey Gouly <joey.gouly@arm.com>,
	 Suzuki K Poulose <suzuki.poulose@arm.com>,
	Zenghui Yu <yuzenghui@huawei.com>,
	 Paolo Bonzini <pbonzini@redhat.com>,
	Mingwei Zhang <mizhang@google.com>,
	 David Matlack <dmatlack@google.com>
Subject: Re: [RFC] KVM: Proposed uAPI for querying GSI and irqbypass status
Date: Wed, 5 Aug 2026 17:32:47 -0700	[thread overview]
Message-ID: <anPWL-6TBGreqL3j@google.com> (raw)
In-Reply-To: <86cxvxar8w.wl-maz@kernel.org>

On Wed, Aug 05, 2026, Marc Zyngier wrote:
> On Wed, 05 Aug 2026 09:26:56 +0100,
> Mostafa Saleh <smostafa@google.com> wrote:
> > 
> > Hi Jing,
> > 
> > On Fri, Jul 31, 2026 at 10:26:26AM -0700, Jing Zhang wrote:
> 
> [drop the LLM generated stuff]
> 
> > > While interfaces in debugfs are fantastic for manual, retroactive
> > > debugging on a developer workstation, they are not Dependable for
> > > fleet-wide observability. This RFC aims to provide a proactive
> > > monitoring solution that aligns KVM with production operational
> > > requirements across architectures (both ARM and x86).
> > > 
> > > Would love to hear your thoughts on this perspective.
> > 
> > I agree that debugfs is not suitable for that purpose.
> > 
> > My main concerns are:
> > 1- Why is /proc/interrupts not enough, it should show whether the
> > interrupts are going through the host (not bypassed) and it should
> > show when the host get a doorbell if the vCPU was not resident.
> 
> This.
> 
> Also, there is a very long standing ask to represent the output of
> /proc/interrupts as a structured set, retrieved through a generic
> kernel interface. I.e. *not* something KVM specific.

+1 to not making this level of detail KVM specific.  Ideally, I'd want more than
what /proc/interrupts offers, e.g. it'd be nice to capture what "mode" an IRQ is
configured for (normal/remapped, IRQ bypass, x86's posted MSI, etc.).  But that's
an argument for extending /proc/irq and/or providing structured output of _that_,
not for throwing something into KVM.

      reply	other threads:[~2026-08-06  0:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-17 16:26 [RFC] KVM: Proposed uAPI for querying GSI and irqbypass status Jing Zhang
2026-07-28  9:45 ` Mostafa Saleh
2026-07-31 17:26   ` Jing Zhang
2026-08-05  8:26     ` Mostafa Saleh
2026-08-05  8:47       ` Marc Zyngier
2026-08-06  0:32         ` 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=anPWL-6TBGreqL3j@google.com \
    --to=seanjc@google.com \
    --cc=dmatlack@google.com \
    --cc=jingzhangos@google.com \
    --cc=joey.gouly@arm.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.linux.dev \
    --cc=maz@kernel.org \
    --cc=mizhang@google.com \
    --cc=oliver.upton@linux.dev \
    --cc=pbonzini@redhat.com \
    --cc=smostafa@google.com \
    --cc=suzuki.poulose@arm.com \
    --cc=yuzenghui@huawei.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox