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
..
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2020-04-27 08:13:52 +02:00
2020-04-28 11:10:54 +02:00
2020-04-27 08:13:52 +02:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-04-27 08:13:52 +02:00
2020-04-28 11:10:54 +02:00
2020-04-27 08:13:52 +02:00
2020-04-28 11:10:54 +02:00
2019-11-20 17:22:06 +01:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-04-08 14:46:24 +02:00
2020-04-28 11:10:54 +02:00
2020-04-12 22:30:10 -04:00
2020-04-28 11:10:54 +02:00
2020-05-06 15:08:41 +02:00
2020-05-12 06:55:00 +02:00
2020-05-06 15:08:49 +02:00
2020-05-12 06:55:00 +02:00
2020-05-06 15:08:51 +02:00
2020-05-12 06:55:00 +02:00
2020-05-06 11:11:17 +02:00
2020-05-12 06:55:00 +02:00
2020-05-06 11:11:17 +02:00
2020-05-12 06:55:00 +02:00