From: Jack Lange Date: Fri, 13 Feb 2009 22:58:31 +0000 (-0600) Subject: fixed ioapic bug X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=176328b42924a56b53e4c7255ef83acb5847c621 fixed ioapic bug --- diff --git a/palacios/include/devices/io_apic.h b/palacios/include/devices/io_apic.h index d9a6c84..5d9e9c1 100644 --- a/palacios/include/devices/io_apic.h +++ b/palacios/include/devices/io_apic.h @@ -26,7 +26,7 @@ #include -struct vm_device * v3_create_io_apic(); +struct vm_device * v3_create_io_apic(struct vm_device * apic); #endif // ! __V3VEE__ diff --git a/palacios/src/palacios/vmm_config.c b/palacios/src/palacios/vmm_config.c index 17e8a50..b713975 100644 --- a/palacios/src/palacios/vmm_config.c +++ b/palacios/src/palacios/vmm_config.c @@ -220,7 +220,7 @@ static int setup_devices(struct guest_info * info, struct v3_vm_config * config_ struct vm_device * bochs_debug = v3_create_bochs_debug(); struct vm_device * os_debug = v3_create_os_debug(); struct vm_device * apic = v3_create_apic(); - struct vm_device * ioapic = v3_create_io_apic(); + struct vm_device * ioapic = v3_create_io_apic(apic); //struct vm_device * serial = v3_create_serial(); struct vm_device * generic = NULL;