v1->v2: * Dropped patch to skip writing the MP Tables if apicid >= 255
v1: https://lore.kernel.org/xen-devel/[email protected]/ source series: https://lore.kernel.org/xen-devel/[email protected]/ The hypervisor, hvmloader and the toolstack currently engage in a shared assumption that for every vCPU apicid == 2 * vcpuid. This series removes such assumption from hvmloader, by making it read the APIC ID of each vCPU and storing it for later use. Alejandro Vallejo (2): tools/hvmloader: Retrieve APIC IDs from the APs themselves tools/hvmloader: Replace LAPIC_ID() with cpu_to_apicid[] tools/firmware/hvmloader/config.h | 3 +- tools/firmware/hvmloader/hvmloader.c | 6 ++-- tools/firmware/hvmloader/mp_tables.c | 2 +- tools/firmware/hvmloader/smp.c | 43 +++++++++++++++++++++++++++- tools/firmware/hvmloader/util.c | 2 +- 5 files changed, 49 insertions(+), 7 deletions(-) -- 2.48.1
