From 9d5e77a22f1b8b502a11aa6288334c2787d8dbc8 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Thu, 18 Jun 2009 19:57:00 +0900 Subject: 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 Signed-off-by: Anthony Liguori --- hw/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/pc.c') diff --git a/hw/pc.c b/hw/pc.c index 3521d29ae5..4515b024ca 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -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"); -- cgit 1.4.1