]> 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>
Wed, 22 Feb 2023 16:25:12 +0000 (16:25 +0000)
commitef970a41d39f742629695c8fd1b9d238169c1db1
tree11442a2fb1c9dccec85a25765e66abb97e7f5b9e
parente441f5be640a1a785b14d91fcb03b0481c6d00ce
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