spapr/vio: deprecate the "irq" property
commitefe2add7cb7f870ebd90ac4f9637161a4821200a
authorCédric Le Goater <clg@kaod.org>
Tue, 5 Jun 2018 06:56:26 +0000 (5 08:56 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Jun 2018 00:44:35 +0000 (12 10:44 +1000)
treecf7ab44bd0c2a7e91c0f56b55a83ca1f3269f92b
parent6b37554458a1e8cfe8f91ef0beac82e8de8f85bb
spapr/vio: deprecate the "irq" property

VIO devices have an "irq" property that can be used by the sPAPR IRQ
allocator as an IRQ number hint. But it is not set in QEMU nor in
libvirt. It brings unnecessary complexity to the underlying layers
managing the IRQ number space and it is in full opposition with the
new static IRQ allocator we want to introduce in sPAPR.

Let's deprecate it to simplify the spapr_irq_alloc routine in the
future.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
[dwg: Check qtest_enabled() to suppress bogus warnings from make check]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_vio.c
qemu-doc.texi