mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
993e38020f
commit
a271b8d7b2
4 changed files with 19 additions and 167 deletions
|
@ -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" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue