Re: [PATCH 09/13] hw/ide/piix: Disuse isa_get_irq()

2023-05-14 Thread Mark Cave-Ayland
On 13/05/2023 12:53, Bernhard Beschow wrote: Am 27. April 2023 12:31:10 UTC schrieb Mark Cave-Ayland : On 26/04/2023 19:25, Bernhard Beschow wrote: Am 26. April 2023 11:33:40 UTC schrieb Mark Cave-Ayland : On 22/04/2023 16:07, Bernhard Beschow wrote: isa_get_irq() asks for an ISADevice w

Re: [PATCH 09/13] hw/ide/piix: Disuse isa_get_irq()

2023-05-13 Thread Bernhard Beschow
Am 27. April 2023 12:31:10 UTC schrieb Mark Cave-Ayland : >On 26/04/2023 19:25, Bernhard Beschow wrote: > >> Am 26. April 2023 11:33:40 UTC schrieb Mark Cave-Ayland >> : >>> On 22/04/2023 16:07, Bernhard Beschow wrote: >>> isa_get_irq() asks for an ISADevice which piix-ide doesn't provid

Re: [PATCH 09/13] hw/ide/piix: Disuse isa_get_irq()

2023-04-27 Thread Mark Cave-Ayland
On 26/04/2023 19:25, Bernhard Beschow wrote: Am 26. April 2023 11:33:40 UTC schrieb Mark Cave-Ayland : On 22/04/2023 16:07, Bernhard Beschow wrote: isa_get_irq() asks for an ISADevice which piix-ide doesn't provide. Passing a NULL pointer works but causes the isabus global to be used then. B

Re: [PATCH 09/13] hw/ide/piix: Disuse isa_get_irq()

2023-04-26 Thread Bernhard Beschow
Am 26. April 2023 11:33:40 UTC schrieb Mark Cave-Ayland : >On 22/04/2023 16:07, Bernhard Beschow wrote: > >> isa_get_irq() asks for an ISADevice which piix-ide doesn't provide. >> Passing a NULL pointer works but causes the isabus global to be used >> then. By fishing out TYPE_ISA_BUS from the

Re: [PATCH 09/13] hw/ide/piix: Disuse isa_get_irq()

2023-04-26 Thread Mark Cave-Ayland
On 22/04/2023 16:07, Bernhard Beschow wrote: isa_get_irq() asks for an ISADevice which piix-ide doesn't provide. Passing a NULL pointer works but causes the isabus global to be used then. By fishing out TYPE_ISA_BUS from the QOM tree it is possible to achieve the same as using isa_get_irq(). Th

[PATCH 09/13] hw/ide/piix: Disuse isa_get_irq()

2023-04-22 Thread Bernhard Beschow
isa_get_irq() asks for an ISADevice which piix-ide doesn't provide. Passing a NULL pointer works but causes the isabus global to be used then. By fishing out TYPE_ISA_BUS from the QOM tree it is possible to achieve the same as using isa_get_irq(). This is an alternative solution to commit 9405d87b