test-device: add support for irq injection
commit51e2115f0febc76ccee264f740af34940997872d
authorAvi Kivity <avi@redhat.com>
Wed, 16 Sep 2009 09:25:50 +0000 (16 12:25 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 16 Sep 2009 19:00:46 +0000 (16 16:00 -0300)
tree55cdb1f5c726c8c12cf460cd18edfbbb67b9b050
parent371b2750a5efb68a80265bba700fb0750fca837d
test-device: add support for irq injection

This allows apic.flat to pass.

Direct access to the ioapic is required, which is not supported by qdev at
this time, so we pass the isa_irq array using a hack.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/pc.c
hw/testdev.c