[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 0/5] IOMMU: intel_iommu support map and unmap
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH v7 0/5] IOMMU: intel_iommu support map and unmap notifications |
Date: |
Fri, 2 Dec 2016 14:58:25 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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