On 04-04-23, 21:16, Oleksandr Tyshchenko wrote:
> ok, probably makes sense

While testing both foreign and grant mappings I stumbled upon another
related problem. How do I control the creation of iommu node from
guest configuration file, irrespective of the domain backend is
running at ? This is what we have right now:

- always create iommu nodes if backend-dom != 0
- always create iommu nodes if forced_grant == 1

what I need to cover is
- don't create iommu nodes irrespective of the domain

This is required if you want to test both foreign and grant memory
allocations, with different guests kernels. i.e. one guest kernel for
device with grant mappings and another guest for device with foreign
mappings. There is no way, that I know of, to disable the creation of
iommu nodes. Of course we would want to use the same images for kernel
and other stuff, so this needs to be controlled from guest
configuration file.

-- 
viresh

Reply via email to