[PATCH V4 0/3] Xen: Support PCI permissive setting with writeFiltering attribute

Jim Fehlig jfehlig at suse.com
Mon Aug 24 14:26:54 UTC 2020


This is V4 of Marek's series to support the xl.cfg(5) permissive setting on
PCI devices. Previous versions of the series

V3
https://www.redhat.com/archives/libvir-list/2020-August/msg00465.html

V2
https://www.redhat.com/archives/libvir-list/2020-April/msg01230.html

Changes from V3:
- Add a check to qemu_validate to report error if writeFiltering is used
  in a qemu domain.

- Rebase to master.

Changes from V2:
- Instead of using a permisssive attribute on the <hostdev> element, use a
  writeFiltering attribute on the <hostdev>'s <source> element. Rational
  being that the filtering of writes to the PCI config space is done at
  the source.

Jim Fehlig (3):
  Xen: Add writeFiltering option for PCI devices
  Xen: Add support for writeFiltering in config converter
  News: Advertise support for writeFiltering attribute of PCI hostdevs

 NEWS.rst                                      |  7 ++
 docs/formatdomain.rst                         |  7 +-
 docs/schemas/domaincommon.rng                 |  5 ++
 src/conf/domain_conf.c                        | 14 ++++
 src/conf/domain_conf.h                        |  1 +
 src/libxl/libxl_conf.c                        |  1 +
 src/libxl/xen_common.c                        | 77 +++++++++++++++----
 src/qemu/qemu_validate.c                      |  7 ++
 .../libxlxml2domconfigdata/moredevs-hvm.json  |  6 ++
 tests/libxlxml2domconfigdata/moredevs-hvm.xml |  5 ++
 tests/xlconfigdata/test-fullvirt-pci.cfg      | 25 ++++++
 tests/xlconfigdata/test-fullvirt-pci.xml      | 53 +++++++++++++
 tests/xlconfigtest.c                          |  1 +
 13 files changed, 195 insertions(+), 14 deletions(-)
 create mode 100644 tests/xlconfigdata/test-fullvirt-pci.cfg
 create mode 100644 tests/xlconfigdata/test-fullvirt-pci.xml

-- 
2.28.0





More information about the libvir-list mailing list