mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
qdev/scsi: add scsi bus support to qdev, convert drivers.
* Add SCSIBus. * Add SCSIDeviceInfo, move device callbacks here. * add qdev/scsi helper functions. * convert drivers. Adding scsi disks via -device works now, i.e. you can do: -drive id=sda,if=none,... -device lsi -device scsi-disk,drive=sda legacy command lines (-drive if=scsi,...) continue to work. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
5b19d9a247
commit
d52affa7f6
12 changed files with 353 additions and 276 deletions
1
hw/pci.h
1
hw/pci.h
|
@ -331,7 +331,6 @@ PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name);
|
|||
|
||||
/* lsi53c895a.c */
|
||||
#define LSI_MAX_DEVS 7
|
||||
void lsi_scsi_attach(DeviceState *host, BlockDriverState *bd, int id);
|
||||
|
||||
/* vmware_vga.c */
|
||||
void pci_vmsvga_init(PCIBus *bus);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue