On 08/27/2011 01:26 AM, Jan Kiszka wrote:
> + > +static void test_device_irq_line(void *opaque, uint32_t addr, uint32_t data) > +{ > + qemu_set_irq(isa_get_irq(addr - 0x2000), !!data);Note that qemu-kvm retrieves (due to a hack) GSIs via isa_get_irq while QEMU is and will remain confined to true ISA IRQs, thus provides no access to IRQs 16-23. May break existing tests. So we likely have to introduce a cleaner interface now if GSI is what you need here.
IIRC, gsi is wanted so we can hit on unallocated gsis. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
