sys/i386/xen_mp_machdep.c:

Set a 'fake' acpi_id for the i386 PV port, it is needed in
	order to use VIRQs or IPI event channels.

Submitted by:	Roger Pau Monné
Sponsored by:	Citrix Systems R&D
Reviewed by:	gibbs
Approved by:	re (blanket Xen)
MFC after:	2 weeks
This commit is contained in:
gibbs 2013-09-19 14:41:10 +00:00
parent 9992c4312f
commit 6f13d59af6

View File

@ -251,6 +251,9 @@ cpu_add(u_int apic_id, char boot_cpu)
if (bootverbose)
printf("SMP: Added CPU %d (%s)\n", apic_id, boot_cpu ? "BSP" :
"AP");
/* Set the ACPI id (it is needed by VCPU operations) */
pcpu_find(apic_id)->pc_acpi_id = apic_id;
}
void