[PATCH 0/4] Xen: Add support for qemu commandline passthrough

Jim Fehlig posted 4 patches 3 years, 9 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
NEWS.rst                                     |  6 ++
docs/drvxen.html.in                          | 35 +++++++
src/libvirt_private.syms                     |  1 +
src/libxl/libxl_conf.c                       | 11 ++-
src/libxl/libxl_conf.h                       |  8 ++
src/libxl/libxl_domain.c                     | 99 ++++++++++++++++++++
src/libxl/libxl_domain.h                     |  1 +
src/libxl/xen_xl.c                           | 88 +++++++++++++++++
tests/xlconfigdata/test-qemu-passthrough.cfg | 26 +++++
tests/xlconfigdata/test-qemu-passthrough.xml | 53 +++++++++++
tests/xlconfigtest.c                         |  4 +
11 files changed, 331 insertions(+), 1 deletion(-)
create mode 100644 tests/xlconfigdata/test-qemu-passthrough.cfg
create mode 100644 tests/xlconfigdata/test-qemu-passthrough.xml
[PATCH 0/4] Xen: Add support for qemu commandline passthrough
Posted by Jim Fehlig 3 years, 9 months ago
This patch series introduces support for qemu commandline passthrough to
the xen driver. ATM it uses the same schema extension as the qemu driver,
but it could be changed to something like
xmlns:xen='http://libvirt.org/schemas/domain/xen/1.0' if desired. I didn't
see an immediate benefit to that, other than following the pattern used
by qemu, bhyve, and lxc. Using the same namespace and schema could be
a bit confusing to users, but on the other hand it is just qemu under the
covers. Since Xen does not support passing environment vars or adjusting
qemu's capabilities, the parser will flag attempts at setting those as
errors.

The patch to NEWS.rst is just a reminder for me to create a news entry
and will need rebased once 6.6.0 is out.

Thanks in advance for your comments!

Regards,
Jim

Jim Fehlig (4):
  Expose virStringListCopy in libvirt_private.syms
  Xen: Add support for qemu command-line passthrough
  Xen: Add support for qemu commandline passthrough to config converter
  news: Mention support for qemu commandline passthrough in Xen

 NEWS.rst                                     |  6 ++
 docs/drvxen.html.in                          | 35 +++++++
 src/libvirt_private.syms                     |  1 +
 src/libxl/libxl_conf.c                       | 11 ++-
 src/libxl/libxl_conf.h                       |  8 ++
 src/libxl/libxl_domain.c                     | 99 ++++++++++++++++++++
 src/libxl/libxl_domain.h                     |  1 +
 src/libxl/xen_xl.c                           | 88 +++++++++++++++++
 tests/xlconfigdata/test-qemu-passthrough.cfg | 26 +++++
 tests/xlconfigdata/test-qemu-passthrough.xml | 53 +++++++++++
 tests/xlconfigtest.c                         |  4 +
 11 files changed, 331 insertions(+), 1 deletion(-)
 create mode 100644 tests/xlconfigdata/test-qemu-passthrough.cfg
 create mode 100644 tests/xlconfigdata/test-qemu-passthrough.xml

-- 
2.26.2