Re: [PATCH 2/3] pci: Always pass own DeviceState to pci_map_irq_fn's

2022-01-30 Thread Philippe Mathieu-Daudé via
On 12/1/22 22:36, Bernhard Beschow wrote: Passing own DeviceState rather than just the IRQs allows for resolving global variables. Signed-off-by: Bernhard Beschow --- hw/isa/piix4.c | 6 +++--- hw/pci-host/sh_pci.c| 6 +++--- hw/pci-host/versatile.c | 6 +++--- hw/ppc/ppc440_p

Re: [PATCH 2/3] pci: Always pass own DeviceState to pci_map_irq_fn's

2022-01-14 Thread Peter Maydell
On Wed, 12 Jan 2022 at 21:36, Bernhard Beschow wrote: > > Passing own DeviceState rather than just the IRQs allows for resolving > global variables. > > Signed-off-by: Bernhard Beschow Reviewed-by: Peter Maydell thanks -- PMM

[PATCH 2/3] pci: Always pass own DeviceState to pci_map_irq_fn's

2022-01-12 Thread Bernhard Beschow
Passing own DeviceState rather than just the IRQs allows for resolving global variables. Signed-off-by: Bernhard Beschow --- hw/isa/piix4.c | 6 +++--- hw/pci-host/sh_pci.c| 6 +++--- hw/pci-host/versatile.c | 6 +++--- hw/ppc/ppc440_pcix.c| 6 +++--- hw/ppc/ppc4xx_pci.c | 6