qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 10/14] hw/scsi: remove 'scsi-disk' device


From: Thomas Huth
Subject: Re: [PATCH 10/14] hw/scsi: remove 'scsi-disk' device
Date: Wed, 24 Feb 2021 15:26:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 24/02/2021 14.11, Daniel P. Berrangé wrote:
The 'scsi-hd' and 'scsi-cd' devices provide suitable alternatives.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
  docs/system/deprecated.rst       |  9 -----
  docs/system/removed-features.rst |  6 ++++
  hw/i386/pc.c                     |  1 -
  hw/scsi/scsi-disk.c              | 62 --------------------------------
  hw/sparc64/sun4u.c               |  1 -
  scripts/device-crash-test        |  1 -
  tests/qemu-iotests/051           |  2 --
  tests/qemu-iotests/051.pc.out    | 10 ------
  8 files changed, 6 insertions(+), 86 deletions(-)

I see some occurrances of "scsi-disk" in the config files in the docs/config/ directory, too ... I guess they should also be removed?

diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c
index d7c27144ba..cda7df36e3 100644
--- a/hw/sparc64/sun4u.c
+++ b/hw/sparc64/sun4u.c
@@ -749,7 +749,6 @@ static char *sun4u_fw_dev_path(FWPathProvider *p, BusState 
*bus,
                                 DeviceState *dev)
  {
      PCIDevice *pci;
-    int bus_id;
if (!strcmp(object_get_typename(OBJECT(dev)), "pbm-bridge")) {
          pci = PCI_DEVICE(dev);

This lonely hunk should be squashed into the previous (ide-disk) patch instead.

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]