Revision 9b32d5a5 hw/pc.c
b/hw/pc.c | ||
---|---|---|
1101 | 1101 |
int unit_id = 0; |
1102 | 1102 |
|
1103 | 1103 |
while ((index = drive_get_index(IF_VIRTIO, 0, unit_id)) != -1) { |
1104 |
virtio_blk_init(pci_bus, 0x1AF4, 0x1001, |
|
1105 |
drives_table[index].bdrv); |
|
1104 |
virtio_blk_init(pci_bus, drives_table[index].bdrv); |
|
1106 | 1105 |
unit_id++; |
1107 | 1106 |
} |
1108 | 1107 |
} |
Also available in: Unified diff