mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +00:00
HV:transfer vmid's type to uint16_t
vmid's type prefered to be uint16_t. V1->V2:vmid from uint32_t transfer to uint16_t V2->V3:add range check to hcall's vmid parameter V3->V4:seperate the declaration and actual code. V4->V5:remove range check from hcall's vmid parameter Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -217,7 +217,7 @@ int unassign_iommu_device(struct iommu_domain *domain,
|
||||
uint8_t bus, uint8_t devfun);
|
||||
|
||||
/* Create a iommu domain for a VM specified by vm_id */
|
||||
struct iommu_domain *create_iommu_domain(int vm_id,
|
||||
struct iommu_domain *create_iommu_domain(uint16_t vm_id,
|
||||
uint64_t translation_table, int addr_width);
|
||||
|
||||
/* Destroy the iommu domain */
|
||||
|
||||
Reference in New Issue
Block a user