Am 11. Oktober 2023 18:59:51 UTC schrieb "Philippe Mathieu-Daudé" 
<phi...@linaro.org>:
>PCI functions are plugged on a PCI bus. They can only access
>external memory regions via the bus.
>
>Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>

With `info mtree` and `info mtree -f` in the QEMU console before and after this 
patch I get the same results for `qemu-system-alpha -M clipper -S` and 
`qemu-system-ppc64 -M 40p -S`. So:

Reviewed-by: Bernhard Beschow <shen...@gmail.com>

>---
> hw/isa/i82378.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/hw/isa/i82378.c b/hw/isa/i82378.c
>index 63e0857208..95b45d0178 100644
>--- a/hw/isa/i82378.c
>+++ b/hw/isa/i82378.c
>@@ -76,7 +76,7 @@ static void i82378_realize(PCIDevice *pci, Error **errp)
> 
>     pci_config_set_interrupt_pin(pci_conf, 1); /* interrupt pin 0 */
> 
>-    isabus = isa_bus_new(dev, get_system_memory(),
>+    isabus = isa_bus_new(dev, pci_address_space(pci),
>                          pci_address_space_io(pci), errp);
>     if (!isabus) {
>         return;

Reply via email to