acrn-hypervisor/hypervisor/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.c Revert "HV: added memory allocation functions for AP trampoline code relocation" 2018-05-15 17:25:58 +08:00
instr_emul_wrapper.c initial import 2018-05-11 14:44:28 +08:00
instr_emul_wrapper.h hv: microcode: Enable microcode update from SOS. 2018-05-15 17:19:37 +08:00
instr_emul.c revise type of 'exit_reason' and 'inst_len' in vcpu_arch 2018-05-15 17:25:55 +08:00
instr_emul.h revise type of 'exit_reason' and 'inst_len' in vcpu_arch 2018-05-15 17:25:55 +08:00
pm.c HV cleanup: assert on vm setup cpu px 2018-05-15 17:25:57 +08:00
ucode.c cpuid restruct 2018-05-15 17:19:38 +08:00
vcpu.c revise type of 'exit_reason' and 'inst_len' in vcpu_arch 2018-05-15 17:25:55 +08:00
vioapic.c HV: increase UOS VIOAPIC pin count 2018-05-16 15:09:48 +08:00
vlapic_priv.h hv: vlapic_timer: refine vlapic tscdeadline timer 2018-05-15 18:03:33 +08:00
vlapic.c uefi: remove warkaround for AP wakeup 2018-05-17 10:23:27 +08:00
vm.c vm: allocated all pcpus to vm0 at the beginning 2018-05-17 10:23:27 +08:00
vmcall.c vm: allocated all pcpus to vm0 at the beginning 2018-05-17 10:23:27 +08:00
vmsr.c hv: vlapic_timer: refine vlapic tscdeadline timer 2018-05-15 18:03:33 +08:00
vpic.c refine: remove redundant data type definition 2018-05-15 17:25:54 +08:00