summary refs log tree commit diff stats
path: root/results/classifier/118/KVM/1834051
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/118/KVM/1834051')
-rw-r--r--results/classifier/118/KVM/183405157
1 files changed, 57 insertions, 0 deletions
diff --git a/results/classifier/118/KVM/1834051 b/results/classifier/118/KVM/1834051
new file mode 100644
index 000000000..96df2309b
--- /dev/null
+++ b/results/classifier/118/KVM/1834051
@@ -0,0 +1,57 @@
+KVM: 0.947
+i386: 0.831
+device: 0.656
+performance: 0.650
+hypervisor: 0.648
+architecture: 0.646
+semantic: 0.627
+graphic: 0.621
+kernel: 0.614
+user-level: 0.601
+peripherals: 0.594
+network: 0.578
+ppc: 0.577
+socket: 0.552
+mistranslation: 0.544
+virtual: 0.539
+permissions: 0.517
+files: 0.496
+debug: 0.495
+x86: 0.491
+register: 0.461
+vnc: 0.454
+risc-v: 0.426
+PID: 0.390
+boot: 0.371
+assembly: 0.344
+VMM: 0.321
+TCG: 0.321
+arm: 0.296
+
+IRQ2 ignored under KVM when using IOAPIC
+
+When using KVM, and an OS that supports the IOAPIC, interrupts mapped on IRQ2 (for instance, routing an HPET timer on interrupt 2) will cause the interrupts to never be delivered. This is because QEmu, when setting up the KVM interrupt routes, will not set one up for IRQ2[0]. When running without KVM, IRQ2 is identity-mapped to GSI2.
+
+My understanding is that IRQs should be identity mapped to their equivalent GSI unless a redirection entry is present in the MADT. This is supported by ACPI 6.2 spec[1], 5.2.12.5 Interrupt Source Override Structure, which claims: "It is assumed that the ISA interrupts will be identity-mapped into the first I/O APIC sources.".
+
+I stumbled across this while working on my own custom OS, got very confused why the HPET wasn't triggering any interruption - and even more confused why the behavior only happened in KVM and not in non-KVM.
+
+[0]: https://github.com/qemu/qemu/blob/37560c259d7a0d6aceb96e9d6903ee002f4e5e0c/hw/i386/kvm/ioapic.c#L40
+
+[1]: https://uefi.org/sites/default/files/resources/ACPI_6_2.pdf
+
+The QEMU project is currently considering to move its bug tracking to
+another system. For this we need to know which bugs are still valid
+and which could be closed already. Thus we are setting older bugs to
+"Incomplete" now.
+
+If you still think this bug report here is valid, then please switch
+the state back to "New" within the next 60 days, otherwise this report
+will be marked as "Expired". Or please mark it as "Fix Released" if
+the problem has been solved with a newer version of QEMU already.
+
+Thank you and sorry for the inconvenience.
+
+
+[Expired for QEMU because there has been no activity for 60 days.]
+