All of lore.kernel.org
 help / color / mirror / Atom feed
* [XEN PATCH v2 0/2] libxl: Implement QEMU command line probe
@ 2024-08-30  9:49 Anthony PERARD
  2024-08-30  9:49 ` [XEN PATCH v2 1/2] libxl: Probe QEMU for -run-with chroot=dir and use it Anthony PERARD
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anthony PERARD @ 2024-08-30  9:49 UTC (permalink / raw)
  To: xen-devel; +Cc: Anthony PERARD, Juergen Gross

Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.libxl-qemu-cmdline-probe-v2

v2:
- removed commited patch
- rename "qemu_cmdline" to "qemu_opts" in struct field and func parameters.
- rename "struct libxl__qemu_available_cmd_line" to
  "struct libxl__qemu_available_opts".

Starting with QEMU 9.0, the option "-chroot", that we use for the
"dmrestrict" feature, is removed. We need to find out which to use
between "-chroot" and "-run-with chroot=dir".

Also, "-runas" is deprecated in QEMU 9.1 and will be remove in a future
release, it's replaced with "-run-with user=user".

To find out which command line option we can use, we'll spawn QEMU, and run the
QMP command "query-command-line-options".

Some example of running these patches:
    with qemu-xen (8.0):
        http://logs.test-lab.xenproject.org/osstest/logs/187352/
    with QEMU (upstream, 9.1-rc3):
        http://logs.test-lab.xenproject.org/osstest/logs/187353/

Anthony PERARD (2):
  libxl: Probe QEMU for -run-with chroot=dir and use it
  libxl: Probe QEMU for -run-with user=user and use it

 tools/libs/light/libxl_dm.c       | 90 +++++++++++++++++++++++++------
 tools/libs/light/libxl_internal.h |  6 +++
 2 files changed, 80 insertions(+), 16 deletions(-)

-- 


Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-30 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30  9:49 [XEN PATCH v2 0/2] libxl: Implement QEMU command line probe Anthony PERARD
2024-08-30  9:49 ` [XEN PATCH v2 1/2] libxl: Probe QEMU for -run-with chroot=dir and use it Anthony PERARD
2024-08-30  9:49 ` [XEN PATCH v2 2/2] libxl: Probe QEMU for -run-with user=user " Anthony PERARD
2024-08-30 17:16 ` [XEN PATCH v2 0/2] libxl: Implement QEMU command line probe Andrew Cooper

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.