File kvm-ioapic.patch of Package kvm-kmp

Index: kvm-86/kvm/kernel/x86/ioapic.c
===================================================================
--- kvm/x86/ioapic.c
+++ kvm/x86/ioapic.c
@@ -220,7 +220,8 @@ int kvm_ioapic_set_irq(struct kvm_ioapic
 
 	if (irq >= 0 && irq < IOAPIC_NUM_PINS) {
 		entry = ioapic->redirtbl[irq];
-		level ^= entry.fields.polarity;
+// polarity is always active high in qemu
+//		level ^= entry.fields.polarity;
 		if (!level)
 			ioapic->irr &= ~mask;
 		else {
openSUSE Build Service is sponsored by