mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-01 17:06:51 +00:00
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>
This commit is contained in:
@@ -477,9 +477,6 @@ Virtual MTRR
|
||||
|
||||
VPID
|
||||
----
|
||||
.. doxygenfunction:: allocate_vpid
|
||||
:project: Project ACRN
|
||||
|
||||
.. doxygenfunction:: flush_vpid_single
|
||||
:project: Project ACRN
|
||||
|
||||
|
Reference in New Issue
Block a user