From: Jack Lange Date: Fri, 29 Oct 2010 21:42:49 +0000 (-0500) Subject: compilation fixes X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=137d53aa8e5e9ae8247bd3da481cb62e5c15a6ab;p=palacios.git compilation fixes --- diff --git a/palacios/src/devices/apic.c b/palacios/src/devices/apic.c index 348fff7..ee42756 100644 --- a/palacios/src/devices/apic.c +++ b/palacios/src/devices/apic.c @@ -596,7 +596,7 @@ static int deliver_ipi(struct apic_state * src_apic, // host maitains logical proc->phsysical proc PrintDebug(" non-local core, forcing it to exit\n"); - v3_interrupt_cpu(core->vm_info, dst_core->cpu_id, 0); + v3_interrupt_cpu(dst_core->vm_info, dst_core->cpu_id, 0); } break; diff --git a/palacios/src/devices/io_apic.c b/palacios/src/devices/io_apic.c index c725e86..8888530 100644 --- a/palacios/src/devices/io_apic.c +++ b/palacios/src/devices/io_apic.c @@ -284,8 +284,8 @@ static int ioapic_raise_irq(struct v3_vm_info * vm, void * private_data, int irq ipi.mode = irq_entry->del_mode; ipi.logical = irq_entry->dst_mode; ipi.trigger_mode = irq_entry->trig_mode; - ipi->dst = irq_entry->dst_field; - ipi->dst_shorthand = 0; + ipi.dst = irq_entry->dst_field; + ipi.dst_shorthand = 0; // Need to add destination argument here... v3_apic_send_ipi(vm, ioapic->apic_dev, &ipi);