From: Matthew Barnes <matthew.barnes@cloud.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Matthew Barnes <matthew.barnes@cloud.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
George Dunlap <george.dunlap@citrix.com>,
Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>,
Anthony PERARD <anthony.perard@citrix.com>
Subject: [XEN PATCH 0/2] Enumerate all allocated evtchns in lsevtchn
Date: Thu, 11 Apr 2024 16:24:09 +0100 [thread overview]
Message-ID: <cover.1712840924.git.matthew.barnes@cloud.com> (raw)
Currently, lsevtchn aborts its event channel enumeration when it hits
its first hypercall error, namely:
* When an event channel doesn't exist at the specified port
* When the event channel is owned by Xen
This results in lsevtchn missing potential relevant event channels with
higher port numbers.
This patch series adds the highest allocated event channel port for a
given domain in the xen_domctl_getdomaininfo hypercall struct, and uses
that value as an upper bound in the lsevtchn loop.
Matthew Barnes (2):
xen/domctl: Add highest allocated evtchn port to getdomaininfo
tools/lsevtchn: Use evtchn port upper bound for evtchn enumeration
tools/xcutils/lsevtchn.c | 8 ++++++--
xen/common/domctl.c | 1 +
xen/include/public/domctl.h | 3 ++-
3 files changed, 9 insertions(+), 3 deletions(-)
--
2.34.1
next reply other threads:[~2024-04-11 15:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 15:24 Matthew Barnes [this message]
2024-04-11 15:24 ` [XEN PATCH 1/2] xen/domctl: Add highest allocated evtchn port to getdomaininfo Matthew Barnes
2024-04-18 14:59 ` Jan Beulich
2024-04-11 15:24 ` [XEN PATCH 2/2] tools/lsevtchn: Use evtchn port upper bound for evtchn enumeration Matthew Barnes
2024-04-18 14:34 ` Jan Beulich
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=cover.1712840924.git.matthew.barnes@cloud.com \
--to=matthew.barnes@cloud.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.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.