libvirt/src/qemu
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
..
EVENTHANDLERS.txt
libvirt_qemu_probes.d meson: src: build libvirt_driver_qemu_impl.a static library 2020-08-03 09:27:04 +02:00
libvirtd_qemu.aug
meson.build qemu: Extract snapshot related code to a separate file 2020-08-24 16:42:29 +02:00
MIGRATION.txt
qemu_agent.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
qemu_agent.h
qemu_alias.c
qemu_alias.h
qemu_backup.c replace g_new() with g_new0() for consistency 2020-07-20 19:08:07 -04:00
qemu_backup.h
qemu_block.c qemu: block: Remove 'active-write' bitmap even if there are no bitmaps to merge 2020-07-21 09:52:59 +02:00
qemu_block.h qemuBlockStorageSourceAttachData: Add field for ad-hoc storage node name 2020-07-17 07:41:20 +02:00
qemu_blockjob.c qemu: blockjob: Actually delete temporary bitmap on failed active commit 2020-07-21 09:52:59 +02:00
qemu_blockjob.h
qemu_capabilities.c qemu: Check for changes in qemu modules directory 2020-09-01 14:22:24 -06:00
qemu_capabilities.h qemu: capabilities: Add QEMU_CAPS_BLOCKDEV_HOSTDEV_SCSI 2020-07-17 07:41:20 +02:00
qemu_capspriv.h
qemu_cgroup.c virDevMapperGetTargets: Don't ignore EBADF 2020-07-25 11:14:39 +02:00
qemu_cgroup.h
qemu_checkpoint.c
qemu_checkpoint.h
qemu_command.c qemu: Validate memory hotplug in domainValidateCallback instead of cmd line generator 2020-09-01 09:30:27 +02:00
qemu_command.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_conf.c qemu: Separate out namespace handling code 2020-08-03 19:32:27 +02:00
qemu_conf.h
qemu_dbus.c qemu: pre-create the dbus directory in qemuStateInitialize 2020-07-22 09:40:15 +02:00
qemu_dbus.h qemu: pre-create the dbus directory in qemuStateInitialize 2020-07-22 09:40:15 +02:00
qemu_domain_address.c conf: allow to map sound device to host device 2020-08-25 08:42:16 +04:00
qemu_domain_address.h
qemu_domain.c Prefer https: for Red Hat websites 2020-09-01 21:58:46 +02:00
qemu_domain.h qemu_domain.c: change qemuDomainMemoryDeviceAlignSize() return type 2020-08-24 18:41:38 +02:00
qemu_domainjob.c VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
qemu_domainjob.h qemu_domainjob: remove dependency on qemuDomainDiskPrivatePtr 2020-08-19 09:31:27 +02:00
qemu_driver.c conf: allow to map sound device to host device 2020-08-25 08:42:16 +04:00
qemu_driver.h
qemu_extdevice.c
qemu_extdevice.h
qemu_firmware.c qemu: Remove superfluous breaks 2020-07-21 15:53:15 +02:00
qemu_firmware.h
qemu_hostdev.c qemu: Remove superfluous breaks 2020-07-21 15:53:15 +02:00
qemu_hostdev.h
qemu_hotplug.c conf: allow to map sound device to host device 2020-08-25 08:42:16 +04:00
qemu_hotplug.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_interface.c
qemu_interface.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_interop_config.c
qemu_interop_config.h
qemu_migration_cookie.c VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
qemu_migration_cookie.h
qemu_migration_params.c qemuMigrationCapsToJSON: Refactor capability object formatting 2020-08-25 08:24:34 +02:00
qemu_migration_params.h
qemu_migration_paramspriv.h
qemu_migration.c qemu: avoid maybe-uninitialized warning by GCC 10 2020-08-17 08:25:28 +02:00
qemu_migration.h
qemu_monitor_json.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
qemu_monitor_json.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_monitor_priv.h
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c Move debug statements after declarations 2020-08-25 19:03:11 +02:00
qemu_monitor.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_namespace.c qemu_namespace: Don't build namespace if domain doesn't have it enabled 2020-08-24 19:19:47 +02:00
qemu_namespace.h qemuDomainBuildNamespace: Populate basic /dev from daemon's namespace 2020-08-03 19:40:36 +02:00
qemu_process.c util: assign tap device names using a monotonically increasing integer 2020-09-01 14:16:44 -04:00
qemu_process.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_processpriv.h
qemu_qapi.c
qemu_qapi.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_saveimage.c qemu: Split of code related to handling of the save image file 2020-08-24 16:42:00 +02:00
qemu_saveimage.h qemu: Split of code related to handling of the save image file 2020-08-24 16:42:00 +02:00
qemu_security.c qemu: Separate out namespace handling code 2020-08-03 19:32:27 +02:00
qemu_security.h
qemu_shim.c qemu: remove use of gettid() syscall 2020-08-07 13:51:16 +01:00
qemu_slirp.c
qemu_slirp.h
qemu_snapshot.c qemu: Extract snapshot related code to a separate file 2020-08-24 16:42:29 +02:00
qemu_snapshot.h qemu: Extract snapshot related code to a separate file 2020-08-24 16:42:29 +02:00
qemu_tpm.c
qemu_tpm.h
qemu_validate.c Xen: Add writeFiltering option for PCI devices 2020-09-01 14:29:17 -06:00
qemu_validate.h
qemu_vhost_user_gpu.c
qemu_vhost_user_gpu.h
qemu_vhost_user.c
qemu_vhost_user.h
qemu_virtiofs.c
qemu_virtiofs.h
qemu.conf
test_libvirtd_qemu.aug.in
THREADS.txt
virtqemud.init.in
virtqemud.service.in
virtqemud.sysconf