]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Support GSI mapping to PIRQ
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 13 Jan 2023 20:41:19 +0000 (20:41 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 27 Feb 2023 11:01:28 +0000 (11:01 +0000)
commit67efc416ad6861b42a5f4e32a31bd58d5b79393f
tree7da86ded101ba25173845f97f0d4a81f57449546
parentc3aa415fb25803edda0b53e048829d51d763eb12
hw/xen: Support GSI mapping to PIRQ

If I advertise XENFEAT_hvm_pirqs then a guest now boots successfully as
long as I tell it 'pci=nomsi'.

[root@localhost ~]# cat /proc/interrupts
           CPU0
  0:         52   IO-APIC   2-edge      timer
  1:         16  xen-pirq   1-ioapic-edge  i8042
  4:       1534  xen-pirq   4-ioapic-edge  ttyS0
  8:          1  xen-pirq   8-ioapic-edge  rtc0
  9:          0  xen-pirq   9-ioapic-level  acpi
 11:       5648  xen-pirq  11-ioapic-level  ahci[0000:00:04.0]
 12:        257  xen-pirq  12-ioapic-edge  i8042
...

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/kvm/xen_evtchn.c
hw/i386/kvm/xen_evtchn.h
hw/i386/x86.c