diff options
author | John Snow | 2014-08-04 23:11:19 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2014-08-15 19:03:12 +0200 |
commit | 552b48f44df99e095f04245a48d3b839bbe9912c (patch) | |
tree | 5cefc304fc55b05f3fe804c43ad74415c76fb28c /hw/i386 | |
parent | ahci: construct PIO Setup FIS for PIO commands (diff) | |
download | qemu-552b48f44df99e095f04245a48d3b839bbe9912c.tar.gz qemu-552b48f44df99e095f04245a48d3b839bbe9912c.tar.xz qemu-552b48f44df99e095f04245a48d3b839bbe9912c.zip |
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>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/pc_q35.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index c39ee98933..0dd7e02160 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -236,7 +236,7 @@ static void pc_q35_init(MachineState *machine) gsi_state->i8259_irq[i] = i8259[i]; } if (pci_enabled) { - ioapic_init_gsi(gsi_state, NULL); + ioapic_init_gsi(gsi_state, "q35"); } qdev_init_nofail(icc_bridge); |