acrn-hypervisor/hypervisor/include/arch/x86/guest
Jason Chen CJ a6ff3a9bdc vm: allocated all pcpus to vm0 at the beginning
allocated all pcpus to vm0 to handle possible AP wakeup flow for all cpus,
as we pass org ACPI table to VM0 - that means VM0 can see all CPUs.

SOS(VM0) start expected CPUs through "maxcpus=" kernel cmdline option.

During first hypercall from SOS, calling vm_fixup to free un-expect-enabled
vcpus from VM0.

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-05-17 10:23:27 +08:00
..
guest.h hv: vlapic_timer: refine vlapic tscdeadline timer 2018-05-15 18:03:33 +08:00
pm.h HV Cx: add hypercall function to retrieve host cx 2018-05-15 17:25:57 +08:00
ucode.h hv: microcode: Enable microcode update from SOS. 2018-05-15 17:19:37 +08:00
vcpu.h check validity of 'VM-exit Int-Info' before extracting vector 2018-05-15 17:25:55 +08:00
vioapic.h initial import 2018-05-11 14:44:28 +08:00
vlapic.h hv: vlapic: simple vlapic_rd/wr input 2018-05-15 17:19:38 +08:00
vm.h vm: allocated all pcpus to vm0 at the beginning 2018-05-17 10:23:27 +08:00
vpic.h initial import 2018-05-11 14:44:28 +08:00