]> 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>
Fri, 20 Jan 2023 12:28:52 +0000 (12:28 +0000)
commitb7d8fd805188143840d928e4db2dc83706e87b27
tree64ecca7c8ee904ce3521c066c4d32d94aadd2628
parent6039e877331cb0073a64710ba099024cec815fa5
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>
hw/i386/kvm/xen_evtchn.c
hw/i386/kvm/xen_evtchn.h
hw/i386/x86.c