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