hw/isa/piix4: Pass PIIX4State as opaque parameter for piix4_set_irq()
commit19b82e3e44c8ed7a2e06eb2027f0a2808aa8142b
authorBernhard Beschow <shentey@gmail.com>
Thu, 17 Feb 2022 10:19:21 +0000 (17 11:19 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 8 Mar 2022 18:38:01 +0000 (8 19:38 +0100)
tree006fd7770cb7d3574c2ac6aa29ded9e543dba7c0
parent933ab073be42a49f2e83ff18612ffc4940dfa55e
hw/isa/piix4: Pass PIIX4State as opaque parameter for piix4_set_irq()

Passing PIIX4State rather than just the qemu_irq allows for resolving
the global piix4_dev variable.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220217101924.15347-5-shentey@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/piix4.c