From: Viresh Kumar <viresh.kumar@linaro.org>
To: xen-devel@lists.xen.org, Juergen Gross <jgross@suse.com>,
Julien Grall <julien@xen.org>,
Anthony PERARD <anthony.perard@citrix.com>
Cc: "Viresh Kumar" <viresh.kumar@linaro.org>,
"Vincent Guittot" <vincent.guittot@linaro.org>,
stratos-dev@op-lists.linaro.org,
"Alex Bennée" <alex.bennee@linaro.org>,
"Mathieu Poirier" <mathieu.poirier@linaro.com>,
"Oleksandr Tyshchenko" <olekstysh@gmail.com>,
"Erik Schilling" <erik.schilling@linaro.org>
Subject: [PATCH V3 0/3] libxl: Make grants configurable for virtio devices
Date: Fri, 2 Jun 2023 11:19:06 +0530 [thread overview]
Message-ID: <cover.1685684586.git.viresh.kumar@linaro.org> (raw)
Hi,
This patchset intends to make grant mapping usage configurable for virtio
devices. Currently they are forced enabled for backends running on non-Dom0
domains. This patchset adds a new `grant_usage` parameter for the virtio
devices, which can be used to enable or disable grant mappings irrespective of
the backend domain, while still preserving the default behavior in absence of a
parameter.
V2->V3:
- Patch 2/3 is new and fixes ordering issues with default values.
- Reuse `libxl_defbool` instead of defining a new type, it can take values 0 and
1.
- Improved commit logs and comments.
V1->V2:
- Instead of just 0 or 1, the argument can take multiple values now and control
the functionality in a better way.
- Update .gen.go files as well.
- Don't add nodes under frontend path.
Viresh Kumar (3):
libxl: virtio: Remove unused frontend nodes
libxl: Call libxl__virtio_devtype.set_default() early enough
libxl: arm: Add grant_usage parameter for virtio devices
docs/man/xl.cfg.5.pod.in | 8 +++++++
tools/golang/xenlight/helpers.gen.go | 6 +++++
tools/golang/xenlight/types.gen.go | 1 +
tools/libs/light/libxl_arm.c | 22 +++++++++++--------
tools/libs/light/libxl_create.c | 11 +++++++++-
tools/libs/light/libxl_types.idl | 1 +
tools/libs/light/libxl_virtio.c | 33 ++++++++++++++++++++++------
tools/xl/xl_parse.c | 2 ++
8 files changed, 67 insertions(+), 17 deletions(-)
--
2.31.1.272.g89b43f80a514
next reply other threads:[~2023-06-02 5:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-02 5:49 Viresh Kumar [this message]
2023-06-02 5:49 ` [PATCH V3 1/3] libxl: virtio: Remove unused frontend nodes Viresh Kumar
2023-06-12 14:04 ` Anthony PERARD
2023-06-02 5:49 ` [PATCH V3 2/3] libxl: Call libxl__virtio_devtype.set_default() early enough Viresh Kumar
2023-06-12 14:09 ` Anthony PERARD
2023-06-02 5:49 ` [PATCH V3 3/3] libxl: arm: Add grant_usage parameter for virtio devices Viresh Kumar
2023-06-02 6:25 ` Erik Schilling
2023-06-02 6:30 ` Viresh Kumar
2023-06-12 14:48 ` Anthony PERARD
2023-06-13 6:02 ` [PATCH V3.1] " Viresh Kumar
2023-06-13 10:48 ` Anthony PERARD
2023-06-30 4:40 ` Viresh Kumar
2023-06-30 8:40 ` Julien Grall
2023-06-30 8:42 ` Julien Grall
2023-06-30 8:43 ` Viresh Kumar
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.1685684586.git.viresh.kumar@linaro.org \
--to=viresh.kumar@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=anthony.perard@citrix.com \
--cc=erik.schilling@linaro.org \
--cc=jgross@suse.com \
--cc=julien@xen.org \
--cc=mathieu.poirier@linaro.com \
--cc=olekstysh@gmail.com \
--cc=stratos-dev@op-lists.linaro.org \
--cc=vincent.guittot@linaro.org \
--cc=xen-devel@lists.xen.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.