diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-06-18 19:57:00 +0900 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-22 10:15:28 -0500 |
commit | 9d5e77a22f1b8b502a11aa6288334c2787d8dbc8 (patch) | |
tree | 14127df220269130ff58d5cd5479f26835206b6c /hw/pc.c | |
parent | 30868442a5590991266a34af3f0b728a4a0ee6d0 (diff) | |
download | qemu-9d5e77a22f1b8b502a11aa6288334c2787d8dbc8.zip qemu-9d5e77a22f1b8b502a11aa6288334c2787d8dbc8.tar.gz qemu-9d5e77a22f1b8b502a11aa6288334c2787d8dbc8.tar.bz2 |
acpi.c: make qemu_system_device_hot_add piix independent.
introruce piix4_device_hot_add() for piix4 specific code
and make qemu_system_device_hot_add() generic.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1081,7 +1081,7 @@ static void pc_init1(ram_addr_t ram_size, pci_nic_init(pci_bus, nd, -1, "ne2k_pci"); } - qemu_system_hot_add_init(); + piix4_acpi_system_hot_add_init(); if (drive_get_max_bus(IF_IDE) >= MAX_IDE_BUS) { fprintf(stderr, "qemu: too many IDE bus\n"); |