libvirt/src/qemu
Peter Krempa 3b7ca6d419 qemu: capabilities: Introduce QEMU_CAPS_VIRTIO_BLK_SCSI_DEFAULT_DISABLED
Historically the 'scsi' passthrough feature of virtio-blk-pci
was enabled by default. Libvirt was disabling it due to security
implications outlined in libvirt commit v0.9.9-4-g177db08775 if it was
not explicitly requested. In qemu commit v2.4.0-1566-ged65fd1a27 the
default value was changed to disabled in preparation for virtio-1.
Starting from QEMU-5.0 the 'scsi' property was also deprecated. There
replacement for the functionality is to use 'virtio-scsi' for the
purpose. This isn't a direct replacement though.

Add capability named QEMU_CAPS_VIRTIO_BLK_SCSI_DEFAULT_DISABLED which
allows us to stop formatting the 'scsi=' property if it's disabled by
default and not requested so that we don't use deprecated features.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-05-12 06:55:00 +02:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug qemu-conf: add configurable dbus-daemon location 2020-03-24 15:57:33 +01:00
Makefile.inc.am qemu: move qemuDomainDefValidateFeatures to qemu_validate.c 2020-04-03 16:25:30 +02:00
MIGRATION.txt
qemu_agent.c src: Fix boolean assignment 2020-05-05 13:08:57 +02:00
qemu_agent.h qemuAgentGetFSInfo: expose 'report_unsupported' argument 2020-03-25 13:13:18 +01:00
qemu_alias.c qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_alias.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_backup.c qemu: Refuse blockjobs on disk bus='sd' with -blockdev 2020-05-12 06:55:00 +02:00
qemu_backup.h backup: Store error message for failed backups 2020-04-24 08:56:57 +02:00
qemu_block.c qemuBlockStorageSourceGetURI: Pass through query component 2020-03-30 16:30:34 +02:00
qemu_block.h qemu: block: Support VIR_DOMAIN_BLOCK_COMMIT/PULL/REBASE_RELATIVE with blockdev 2020-03-30 16:28:48 +02:00
qemu_blockjob.c backup: Store error message for failed backups 2020-04-24 08:56:57 +02:00
qemu_blockjob.h qemuBlockJobUpdate: Remove return value 2020-04-03 09:34:49 +02:00
qemu_capabilities.c qemu: capabilities: Introduce QEMU_CAPS_VIRTIO_BLK_SCSI_DEFAULT_DISABLED 2020-05-12 06:55:00 +02:00
qemu_capabilities.h qemu: capabilities: Introduce QEMU_CAPS_VIRTIO_BLK_SCSI_DEFAULT_DISABLED 2020-05-12 06:55:00 +02:00
qemu_capspriv.h
qemu_cgroup.c qemu-cgroup: remove unnecessary include 2020-04-22 09:58:10 +02:00
qemu_cgroup.h
qemu_checkpoint.c qemu: Refuse blockjobs on disk bus='sd' with -blockdev 2020-05-12 06:55:00 +02:00
qemu_checkpoint.h
qemu_command.c qemu: Prepare for 'sd' card use together with blockdev 2020-05-12 06:55:00 +02:00
qemu_command.h qemu: Rename qemuDiskBusNeedsDriveArg to qemuDiskBusIsSD 2020-05-12 06:54:59 +02:00
qemu_conf.c Drop needless variable 2020-05-05 11:19:34 +02:00
qemu_conf.h qemu: Make memory path generation embed driver aware 2020-04-07 15:26:32 +02:00
qemu_dbus.c qemu-dbus: register DBus bus to the VM cgroup 2020-04-22 09:58:10 +02:00
qemu_dbus.h qemu-dbus: register DBus bus to the VM cgroup 2020-04-22 09:58:10 +02:00
qemu_domain_address.c qemu/conf: set HOTPLUGGABLE connect flag during PCI address set init 2020-04-12 22:39:51 -04:00
qemu_domain_address.h
qemu_domain.c qemu: Prepare for 'sd' card use together with blockdev 2020-05-12 06:55:00 +02:00
qemu_domain.h qemu: Refuse blockjobs on disk bus='sd' with -blockdev 2020-05-12 06:55:00 +02:00
qemu_driver.c qemu: Prepare for 'sd' card use together with blockdev 2020-05-12 06:55:00 +02:00
qemu_driver.h
qemu_extdevice.c qemu-dbus: register DBus bus to the VM cgroup 2020-04-22 09:58:10 +02:00
qemu_extdevice.h qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup 2020-03-04 12:08:50 +01:00
qemu_firmware.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_firmware.h
qemu_hostdev.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
qemu_hostdev.h
qemu_hotplug.c qemu: Prepare for 'sd' card use together with blockdev 2020-05-12 06:55:00 +02:00
qemu_hotplug.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_interface.c qemu: Drop virQEMUDriverIsPrivileged() 2020-04-07 15:26:15 +02:00
qemu_interface.h
qemu_interop_config.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
qemu_interop_config.h
qemu_migration_cookie.c qemu: Add free and copy function for qemuDomainJobInfo and use it 2020-04-24 08:56:57 +02:00
qemu_migration_cookie.h
qemu_migration_params.c qemu: fix hang in p2p + xbzrle compression + parallel migration 2020-04-16 09:53:04 +02:00
qemu_migration_params.h
qemu_migration_paramspriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration.c qemu: Add free and copy function for qemuDomainJobInfo and use it 2020-04-24 08:56:57 +02:00
qemu_migration.h
qemu_monitor_json.c qemuMonitorGetDeviceProps: Return data in a hash table 2020-05-12 06:55:00 +02:00
qemu_monitor_json.h qemuMonitorGetDeviceProps: Return data in a hash table 2020-05-12 06:55:00 +02:00
qemu_monitor_priv.h
qemu_monitor_text.c qemu_monitor_text.c: Use g_autofree 2020-03-24 14:52:45 +01:00
qemu_monitor_text.h
qemu_monitor.c qemuMonitorGetDeviceProps: Return data in a hash table 2020-05-12 06:55:00 +02:00
qemu_monitor.h qemuMonitorGetDeviceProps: Return data in a hash table 2020-05-12 06:55:00 +02:00
qemu_process.c qemu: process: Don't clear QEMU_CAPS_BLOCKDEV when SD card is present 2020-05-12 06:55:00 +02:00
qemu_process.h qemu: start/stop an event thread for QMP probing 2020-03-11 14:44:47 +00:00
qemu_processpriv.h
qemu_qapi.c
qemu_qapi.h
qemu_security.c qemu: Label restore path outside of secdriver transactions 2020-04-17 16:24:30 +02:00
qemu_security.h qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_shim.c qemu_shim: Ignore SIGPIPE 2020-03-05 11:24:51 +01:00
qemu_slirp.c slirp: add helper to VM cgroup 2020-04-22 09:58:10 +02:00
qemu_slirp.h slirp: add helper to VM cgroup 2020-04-22 09:58:10 +02:00
qemu_tpm.c Drop needless variable 2020-05-05 11:19:34 +02:00
qemu_tpm.h
qemu_validate.c qemu: Prepare for 'sd' card use together with blockdev 2020-05-12 06:55:00 +02:00
qemu_validate.h qemu: validate: Validate blkdeviotune settings in the validator 2020-05-12 06:54:59 +02:00
qemu_vhost_user_gpu.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
qemu_vhost_user_gpu.h
qemu_vhost_user.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_vhost_user.h qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu_virtiofs.c qemuVirtioFSStop: Simplify daemon kill 2020-03-24 15:54:31 +01:00
qemu_virtiofs.h qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu.conf qemu-conf: add configurable dbus-daemon location 2020-03-24 15:57:33 +01:00
test_libvirtd_qemu.aug.in qemu-conf: add configurable dbus-daemon location 2020-03-24 15:57:33 +01:00
THREADS.txt
virtqemud.init.in
virtqemud.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtqemud.sysconf qemu: Allow audio driver override in virtqemud 2020-04-03 11:50:57 +02:00