acrn-hypervisor/hypervisor/include/arch/x86
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 vm: allocated all pcpus to vm0 at the beginning 2018-05-17 10:23:27 +08:00
apicreg.h uefi: remove warkaround for AP wakeup 2018-05-17 10:23:27 +08:00
assign.h ptdev: change remapping entry from virtual to physical based 2018-05-15 17:25:57 +08:00
cpu.h HV: Fix the incorrect operand-constraints for inline assembly 2018-05-15 18:03:33 +08:00
cpufeatures.h hv: add hardware_detect_support to detect which hardware we support 2018-05-15 17:25:56 +08:00
cpuid.h HV: add cpu model name 2018-05-15 17:25:25 +08:00
gdt.h initial import 2018-05-11 14:44:28 +08:00
hv_arch.h HV: code cleanup for cpu state 2018-05-15 17:25:56 +08:00
idt.h initial import 2018-05-11 14:44:28 +08:00
intr_ctx.h initial import 2018-05-11 14:44:28 +08:00
io.h HV Cx: allow guest to access host idle port 2018-05-15 17:25:57 +08:00
ioapic.h ptdev: change remapping entry from virtual to physical based 2018-05-15 17:25:57 +08:00
irq.h rename vmexit handlers 2018-05-15 17:25:55 +08:00
lapic.h refine: remove redundant data type definition 2018-05-15 17:25:54 +08:00
mmu.h hv: add hardware_detect_support to detect which hardware we support 2018-05-15 17:25:56 +08:00
msr.h hv: vmx_capability: add cpu_has_vmx_ept/vpid_cap API 2018-05-15 17:25:55 +08:00
multiboot.h UEFI: change the efi_ctx passing method 2018-05-15 17:19:39 +08:00
softirq.h initial import 2018-05-11 14:44:28 +08:00
timer.h hv: timer: make the timer list be ordered 2018-05-15 18:03:33 +08:00
trusty.h mmu:create temporary page tables for guest at run time 2018-05-15 17:25:26 +08:00
vmexit.h rename vmexit handlers 2018-05-15 17:25:55 +08:00
vmx.h HV: Add one correct Descriptor_table struct to configure VMCS 2018-05-15 18:03:33 +08:00
vtd.h ept: change eptp to PA 2018-05-15 17:25:25 +08:00
zeropage.h vm load: fix bug in loading kernel 2018-05-15 17:19:37 +08:00