hw/ppc/pnv: Determine ns16550's IRQ number from QOM property
authorBernhard Beschow <shentey@gmail.com>
Wed, 2 Mar 2022 05:51:36 +0000 (06:51 +0100)
committerCédric Le Goater <clg@kaod.org>
Wed, 2 Mar 2022 05:51:36 +0000 (06:51 +0100)
commit632fc0b3cee4d519e24af045edb180dc9eca3f69
treeaa57910a9d0bcb1dbf26dee4b16a06219c02fb24
parent09591fcf6eb3157ab9c50a9fbbef5f8a567fb49f
hw/ppc/pnv: Determine ns16550's IRQ number from QOM property

Determine the IRQ number in the same way as for pnv_dt_ipmi_bt(). This
resolves one usage of ISADevice::isairq[] which allows it to be removed
eventually.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220301220037.76555-6-shentey@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/ppc/pnv.c