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

Jim Fehlig jfehlig at suse.com
Fri Aug 14 21:43:26 UTC 2020


This is V3 of Marek's series to support the xl.cfg(5) permissive setting on
PCI devices. V2 can be found here

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

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                        | 52 ++++++++++++++++--
 .../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 +
 12 files changed, 171 insertions(+), 6 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