libvirt/tests/libxlxml2domconfigdata
Jim Fehlig 9d15647dcb Xen: Add writeFiltering option for PCI devices
By default Xen only allows guests to write "known safe" values into PCI
configuration space, yet many devices require writes to other areas of
the configuration space in order to operate properly. To allow writing
any values Xen supports the 'permissive' setting, see xl.cfg(5) man page.

This change models Xen's permissive setting by adding a writeFiltering
attribute on the <source> element of a PCI hostdev. When writeFiltering
is set to 'no', the Xen permissive setting will be enabled and guests
will be able to write any values into the device's configuration space.
The permissive setting remains disabled in the absense of the
writeFiltering attribute, of if it is explicitly set to 'yes'.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Signed-off-by: Simon Gaiser <simon@invisiblethingslab.com>
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2020-09-01 14:29:17 -06:00
..
basic-hvm.json libxl: don't hardcode scheduler weight 2018-03-21 15:12:24 -06:00
basic-hvm.xml Misc XML schema fixes for libxl 2017-11-30 10:20:06 +00:00
basic-pv.json libxl: set shadow memory for any guest type, not only HVM 2018-09-24 21:33:08 -06:00
basic-pv.xml libxl: Add a test suite for libxl_domain_config generator 2017-08-04 10:17:55 -06:00
basic-pvh.json tests: add basic Xen PVH test 2018-11-26 16:33:25 -07:00
basic-pvh.xml tests: add basic Xen PVH test 2018-11-26 16:33:25 -07:00
cpu-shares-hvm.json libxl: don't hardcode scheduler weight 2018-03-21 15:12:24 -06:00
cpu-shares-hvm.xml libxl: don't hardcode scheduler weight 2018-03-21 15:12:24 -06:00
fullvirt-acpi-slic.json libxl: vga.kind none when no device specified 2020-05-07 15:42:39 -06:00
fullvirt-acpi-slic.xml tests: libxl: ACPI slic table test 2019-10-10 21:02:03 -06:00
fullvirt-cpuid-legacy-nest.json tests: Fix the libxl xml2domconfig test 2020-05-07 17:38:41 -06:00
fullvirt-cpuid-legacy-nest.xml tests: reintroduce tests for libxl's legacy nested setting 2018-10-01 10:33:19 +02:00
fullvirt-cpuid.json libxl: vga.kind none when no device specified 2020-05-07 15:42:39 -06:00
fullvirt-cpuid.xml tests: check CPU features handling in libxl driver 2018-04-17 21:15:27 -06:00
max-eventchannels-hvm.json libxl: Add support for max_event_channels 2020-04-09 15:45:05 -06:00
max-eventchannels-hvm.xml libxl: Add support for max_event_channels 2020-04-09 15:45:05 -06:00
max-gntframes-hvm.json libxl: Add support for max_grant_frames 2019-03-13 12:06:52 -06:00
max-gntframes-hvm.xml libxl: Add support for max_grant_frames 2019-03-13 12:06:52 -06:00
moredevs-hvm.json Xen: Add writeFiltering option for PCI devices 2020-09-01 14:29:17 -06:00
moredevs-hvm.xml Xen: Add writeFiltering option for PCI devices 2020-09-01 14:29:17 -06:00
multiple-ip.json libxl: set shadow memory for any guest type, not only HVM 2018-09-24 21:33:08 -06:00
multiple-ip.xml tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
variable-clock-hvm.json libxl: don't hardcode scheduler weight 2018-03-21 15:12:24 -06:00
variable-clock-hvm.xml libxl: add support for specifying clock offset and adjustment 2018-02-21 12:28:49 -07:00
vnuma-hvm-legacy-nest.json tests: reintroduce tests for libxl's legacy nested setting 2018-10-01 10:33:19 +02:00
vnuma-hvm-legacy-nest.xml tests: reintroduce tests for libxl's legacy nested setting 2018-10-01 10:33:19 +02:00
vnuma-hvm.json libxl: prefer new location of nested_hvm in libxl_domain_build_info 2018-09-24 21:33:10 -06:00
vnuma-hvm.xml Misc XML schema fixes for libxl 2017-11-30 10:20:06 +00:00