On Fri, Dec 02, 2016 at 06:23:52AM +0000, Tian, Kevin wrote:

[...]

> > IIUC the vfio container is created in:
> > 
> >   vfio_realize
> >   vfio_get_group
> >   vfio_connect_container
> > 
> > Along the way (for vfio_get_group()), we have:
> > 
> >   group = vfio_get_group(groupid, pci_device_iommu_address_space(pdev), 
> > errp);
> > 
> > Here the address space is per device. If without vIOMMU, they will be
> > pointed to the same system address space. However if with vIOMMU,
> > that address space will be per-device, no?
> > 
> 
> yes, I didn't note that fact. Tianyu also pointed it out in his reply. :-)

Sorry I didn't see that just now. Thanks for the confirmation. :)

Thanks,

-- peterx

Reply via email to