Re: [PATCH v5 02/13] iommufd: Introduce IOMMUFD_OBJ_VIOMMU and its related struct

2024-10-29 Thread Jason Gunthorpe
On Fri, Oct 25, 2024 at 04:49:42PM -0700, Nicolin Chen wrote: > Add a new IOMMUFD_OBJ_VIOMMU with an iommufd_viommu structure to represent > a slice of physical IOMMU device passed to or shared with a user space VM. > This slice, now a vIOMMU object, is a group of virtualization resources of > a ph

RE: [PATCH v5 02/13] iommufd: Introduce IOMMUFD_OBJ_VIOMMU and its related struct

2024-10-27 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Saturday, October 26, 2024 7:50 AM > > + * @viommu_alloc: Allocate an iommufd_viommu on a physical IOMMU > instance behind > + *the @dev, as the set of virtualization resources > shared/passed > + *to user space IOMMU instance. And asso

[PATCH v5 02/13] iommufd: Introduce IOMMUFD_OBJ_VIOMMU and its related struct

2024-10-25 Thread Nicolin Chen
Add a new IOMMUFD_OBJ_VIOMMU with an iommufd_viommu structure to represent a slice of physical IOMMU device passed to or shared with a user space VM. This slice, now a vIOMMU object, is a group of virtualization resources of a physical IOMMU's, such as: - Security namespace for guest owned ID, e.g