acrn-hypervisor/hypervisor/arch/x86/guest
Zide Chen a3207b2bc2 hv: allocate vpid based on vm_id and vcpu_id mapping
Currently vpid is not released in reset_vcpu() hence the vpid resource
could be exhausted easily if guests are re-launched.

This patch assigns vpid according to the fixed mapping of runtime vm_id
and vcpu_id to guarantee the uniqueness of vpid.

Tracked-On: #2700
Signed-off-by: Zide Chen <zide.chen@intel.com>
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2019-04-22 19:57:28 +08:00
..
assign.c hv: Remove separate interrupt routine for pre-launched VMs 2019-04-04 17:51:36 +08:00
ept.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
guest_memory.c HV: Modularize boot folder 2019-03-14 09:05:53 +08:00
instr_emul.c hv: fix "Else alternative missing in if." 2019-04-03 09:20:55 +08:00
pm.c HV: Minor refinement about RTVM pm MACRO and comments 2019-04-04 00:27:55 +08:00
trusty.c HV: use term of UUID 2019-04-12 13:45:32 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c hv: allocate vpid based on vm_id and vcpu_id mapping 2019-04-22 19:57:28 +08:00
vcpuid.c hv: enable vMCE from guest CPUID 2019-04-18 09:00:42 +08:00
virq.c hv: vlapic: add TPR below threshold implement 2019-04-19 11:11:54 +08:00
virtual_cr.c hv: vlapic: remove TPR set/get API 2019-03-25 13:31:51 -07:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: vlapic: add TPR below threshold implement 2019-04-19 11:11:54 +08:00
vm.c HV: validate target vm in hypercall 2019-04-22 19:57:03 +08:00
vmcall.c hv: add new hypercall to fetch platform configurations 2019-04-15 22:14:13 +08:00
vmcs.c hv: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
vmexit.c hv: rename io_emul.c to vmx_io.c 2019-04-12 10:09:26 +08:00
vmsr.c hv: enable vMCE from guest CPUID 2019-04-18 09:00:42 +08:00
vmtrr.c hv: vmtrr: hide mtrr if hide_mtrr is true 2019-03-16 17:14:12 +08:00
vmx_asm.S hv: refine guest.h 2019-02-03 13:00:42 +08:00
vmx_io.c hv: rename io_emul.c to vmx_io.c 2019-04-12 10:09:26 +08:00