[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series does that, while also switching up a few bits of code
prior to adding in the new functionality.

So far this has been tested both unprivileged and privileged on Fedora
40 (with latest passt packet) and selinux enabled (there are a couple
of selinux policy tweaks that still need to be pushed to
passt-selinux) as well as unprivileged on debian (I *think* with
AppArmor enabled) and everything seems to work.

(I haven't gotten to testing hotplug, but it *should* work, and I'll
be testing it while (hopefully) someone is reviewing these patches.)

I also need to make the patch to update formatdomain.rst before the
rest of it can be pushed, but I wanted to get this posted to save time
later.

This series does require patch 1 of the series I posted a couple days
ago that changes several functions that can't fail to return void.

Also, you will need the latest (20250121) passt package.

This Resolves: https://issues.redhat.com/browse/RHEL-69455

Laine Stump (9):
  conf: change virDomainHostdevInsert() to return void
  qemu: fix qemu validation to forbid guest-side IP address for
    type='vdpa'
  qemu: validate that model is virtio for vhostuser and vdpa interfaces
    in the same place
  qemu: automatically set model type='virtio' for interface
    type='vhostuser'
  qemu: do all vhostuser attribute validation in qemu driver
  conf/qemu: make <source> element *almost* optional for type=vhostuser
  qemu: use switch instead of if in qemuProcessPrepareDomainNetwork()
  qemu: make qemuPasstCreateSocketPath() public
  qemu: complete vhostuser + passt support

 src/conf/domain_conf.c                        | 107 +++++++++---------
 src/conf/domain_conf.h                        |   2 +-
 src/conf/domain_validate.c                    |  83 ++++----------
 src/conf/schemas/domaincommon.rng             |  32 +++++-
 src/libxl/libxl_domain.c                      |   5 +-
 src/libxl/libxl_driver.c                      |   3 +-
 src/lxc/lxc_driver.c                          |   3 +-
 src/qemu/qemu_command.c                       |   7 +-
 src/qemu/qemu_driver.c                        |   3 +-
 src/qemu/qemu_extdevice.c                     |   6 +-
 src/qemu/qemu_hotplug.c                       |  21 +++-
 src/qemu/qemu_passt.c                         |   5 +-
 src/qemu/qemu_passt.h                         |   3 +
 src/qemu/qemu_postparse.c                     |   3 +-
 src/qemu/qemu_process.c                       |  84 +++++++++-----
 src/qemu/qemu_validate.c                      |  56 ++++++---
 ...t-user-slirp-portforward.x86_64-latest.err |   2 +-
 .../net-vhostuser-passt.x86_64-latest.args    |  42 +++++++
 .../net-vhostuser-passt.x86_64-latest.xml     |  72 ++++++++++++
 tests/qemuxmlconfdata/net-vhostuser-passt.xml |  70 ++++++++++++
 tests/qemuxmlconftest.c                       |   1 +
 21 files changed, 429 insertions(+), 181 deletions(-)
 create mode 100644 tests/qemuxmlconfdata/net-vhostuser-passt.x86_64-latest.args
 create mode 100644 tests/qemuxmlconfdata/net-vhostuser-passt.x86_64-latest.xml
 create mode 100644 tests/qemuxmlconfdata/net-vhostuser-passt.xml

-- 
2.47.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux