[PATCH] KVM: Qemu : Fix build breakage for ia64.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 8b98bbdd71c979b4d63591f1542d3a3afabbff22 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
Date: Thu, 18 Dec 2008 10:06:31 +0800
Subject: [PATCH] KVM: Qemu : Fix build breakage for ia64.
 Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>

---
 qemu/qemu-kvm.c           |    2 ++
 qemu/target-ia64/helper.c |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 qemu/target-ia64/helper.c

diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c
index 2282aee..5b9aaf4 100644
--- a/qemu/qemu-kvm.c
+++ b/qemu/qemu-kvm.c
@@ -602,11 +602,13 @@ int kvm_main_loop(void)
             qemu_system_powerdown();
         else if (qemu_reset_requested())
 	    qemu_kvm_system_reset();
+#ifdef CONFIG_GDBSTUB
 	else if (kvm_debug_cpu_requested) {
 	    gdb_set_stop_cpu(kvm_debug_cpu_requested);
 	    vm_stop(EXCP_DEBUG);
 	    kvm_debug_cpu_requested = NULL;
 	}
+#endif
     }
 
     pause_all_threads();
diff --git a/qemu/target-ia64/helper.c b/qemu/target-ia64/helper.c
new file mode 100644
index 0000000..4a94dca
--- /dev/null
+++ b/qemu/target-ia64/helper.c
@@ -0,0 +1,5 @@
+
+/*
+ *  IA64 emulation helpers for qemu. (Leave it as blank now.)
+ *
+ */
-- 
1.6.0

Attachment: 0001-KVM-Qemu-Fix-build-breakage-for-ia64.patch
Description: 0001-KVM-Qemu-Fix-build-breakage-for-ia64.patch


[Index of Archives]     [Linux KVM Devel]     [Linux Virtualization]     [Big List of Linux Books]     [Linux SCSI]     [Yosemite Forum]

  Powered by Linux