hotplug: fix "pci_add storage if=scsi"
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 13 Oct 2009 11:59:55 +0000 (13:59 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:28:42 +0000 (12:28 -0500)
commit8f748ffc29e4dbbba5583c7d77f1f40888ee49ff
treeb3bc7f3b86f8cce64e83429ec7d28e0687039fe2
parent902f353e1d2f5d3d32d2d7a8703eb7a02aa72363
hotplug: fix "pci_add storage if=scsi"

Explicitly add the drive to the bus of the newly created scsi adapter
instead of hoping that scsi_bus_legacy_handle_cmdline() picks it up
correctly.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/lsi53c895a.c
hw/pci-hotplug.c