mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
Merge remote-tracking branch 'agraf/xen-next' into staging
This commit is contained in:
commit
3046c98404
10 changed files with 162 additions and 33 deletions
|
@ -160,7 +160,11 @@ static void pc_init1(MemoryRegion *system_memory,
|
|||
ide_drive_get(hd, MAX_IDE_BUS);
|
||||
if (pci_enabled) {
|
||||
PCIDevice *dev;
|
||||
dev = pci_piix3_ide_init(pci_bus, hd, piix3_devfn + 1);
|
||||
if (xen_enabled()) {
|
||||
dev = pci_piix3_xen_ide_init(pci_bus, hd, piix3_devfn + 1);
|
||||
} else {
|
||||
dev = pci_piix3_ide_init(pci_bus, hd, piix3_devfn + 1);
|
||||
}
|
||||
idebus[0] = qdev_get_child_bus(&dev->qdev, "ide.0");
|
||||
idebus[1] = qdev_get_child_bus(&dev->qdev, "ide.1");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue