q35: Enable the ioapic device to be seen by qtest.
authorJohn Snow <jsnow@redhat.com>
Mon, 4 Aug 2014 21:11:19 +0000 (17:11 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Aug 2014 17:03:12 +0000 (18:03 +0100)
commit552b48f44df99e095f04245a48d3b839bbe9912c
tree5cefc304fc55b05f3fe804c43ad74415c76fb28c
parent088415202b9dadb387cb6d9fd25324ae7fd4da4b
q35: Enable the ioapic device to be seen by qtest.

Currently, the ioapic device can not be found in a qtest environment
when requesting "irq_interrupt_in ioapic" via the qtest socket.

By mirroring how the ioapic is added in i44ofx (hw/i440/pc_piix.c),
as a child of "q35," the device is able to be seen by qtest.

Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/i386/pc_q35.c