diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-10 15:51:57 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-05 11:01:05 +0200 |
commit | a271b8d7b2f39275a05e49deb7c8edc20b7a8279 (patch) | |
tree | 4554ba32f3545cfe452982d36ca65775571e3b19 /hw/core | |
parent | 993e38020fddc65e7536c5e1469c22588e5a9f16 (diff) | |
download | qemu-a271b8d7b2f39275a05e49deb7c8edc20b7a8279.zip qemu-a271b8d7b2f39275a05e49deb7c8edc20b7a8279.tar.gz qemu-a271b8d7b2f39275a05e49deb7c8edc20b7a8279.tar.bz2 |
virtio-blk: remove SCSI passthrough functionality
The legacy SCSI passthrough functionality has never been enabled for
VIRTIO 1.0 and was deprecated more than four years ago.
Get rid of it---almost, because QEMU is advertising it unconditionally
for legacy virtio-blk devices. Just parse the header and return a
nonzero status.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core')
-rw-r--r-- | hw/core/machine.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c index 8087026..17292b1 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -265,8 +265,6 @@ GlobalProperty hw_compat_2_5[] = { const size_t hw_compat_2_5_len = G_N_ELEMENTS(hw_compat_2_5); GlobalProperty hw_compat_2_4[] = { - /* Optional because the 'scsi' property is Linux-only */ - { "virtio-blk-device", "scsi", "true", .optional = true }, { "e1000", "extra_mac_registers", "off" }, { "virtio-pci", "x-disable-pcie", "on" }, { "virtio-pci", "migrate-extra", "off" }, |