File IA64-compile-fix-suse.patch of Package kvm

Only in qemu-kvm-0.10.5: config-host.h~
Index: qemu-kvm-0.12.0-rc0/hw/i8259.c
===================================================================
--- qemu-kvm-0.12.0-rc0.orig/hw/i8259.c
+++ qemu-kvm-0.12.0-rc0/hw/i8259.c
@@ -647,8 +647,10 @@ static void kvm_i8259_set_irq(void *opaq
 {
     int pic_ret;
     if (kvm_set_irq(irq, level, &pic_ret)) {
+#if 0
         if (pic_ret != 0)
             apic_set_irq_delivered();
+#endif
         return;
     }
 }
Index: qemu-kvm-0.12.0-rc0/qemu-kvm.c
===================================================================
--- qemu-kvm-0.12.0-rc0.orig/qemu-kvm.c
+++ qemu-kvm-0.12.0-rc0/qemu-kvm.c
@@ -2291,7 +2291,6 @@ void kvm_set_phys_mem(target_phys_addr_t
         }
         if (must_use_aliases_target(start_addr))
             return;
-#endif
         while (size > 0) {
             p = find_mapping(start_addr);
             if (p) {
@@ -2305,6 +2304,7 @@ void kvm_set_phys_mem(target_phys_addr_t
                 size = 0;
             }
         }
+#endif
         return;
     }
 
Index: qemu-kvm-0.12.0-rc0/configure
===================================================================
--- qemu-kvm-0.12.0-rc0.orig/configure
+++ qemu-kvm-0.12.0-rc0/configure
@@ -667,6 +667,9 @@ case "$cpu" in
     ppc*)
            host_guest_base="yes"
            ;;
+    ia64)
+           ARCH_CFLAGS="-I$(pwd)/kvm/kernel/arch/x86/include/"
+           ;;
 esac
 
 [ -z "$guest_base" ] && guest_base="$host_guest_base"
Index: qemu-kvm-0.12.0-rc0/default-configs/ia64-softmmu.mak
===================================================================
--- /dev/null
+++ qemu-kvm-0.12.0-rc0/default-configs/ia64-softmmu.mak
@@ -0,0 +1,2 @@
+# Default configuration for mips-softmmu
+