Re: [Qemu-devel] [PATCH] s390x/pci: Set the iommu region size as guest wants

2019-01-10 Thread Pierre Morel
On 09/01/2019 13:59, Cornelia Huck wrote: On Tue, 8 Jan 2019 18:33:39 +0100 Pierre Morel wrote: The size of the accessible iommu memory region in the guest is calculated by the gues as: s/gues/guest/ (PCI Address Limit) - (PCI Base Address) + 1. Let's use this value to limit the

Re: [Qemu-devel] [PATCH] s390x/pci: Set the iommu region size as guest wants

2019-01-09 Thread Cornelia Huck
On Tue, 8 Jan 2019 18:33:39 +0100 Pierre Morel wrote: > The size of the accessible iommu memory region in the guest > is calculated by the gues as: s/gues/guest/ > (PCI Address Limit) - (PCI Base Address) + 1. > > Let's use this value to limit the IOMMU region size. These are values

[Qemu-devel] [PATCH] s390x/pci: Set the iommu region size as guest wants

2019-01-08 Thread Pierre Morel
The size of the accessible iommu memory region in the guest is calculated by the gues as: (PCI Address Limit) - (PCI Base Address) + 1. Let's use this value to limit the IOMMU region size. Signed-off-by: Pierre Morel --- hw/s390x/s390-pci-bus.c | 2 +- 1 file changed, 1 insertion(+), 1