All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: Qemu : Fix build breakage for ia64.
@ 2008-12-18  2:13 ` Zhang, Xiantao
  0 siblings, 0 replies; 4+ messages in thread
From: Zhang, Xiantao @ 2008-12-18  2:13 UTC (permalink / raw)
  To: kvm-ia64; +Cc: Avi Kivity, kvm

[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]

>From 8b98bbdd71c979b4d63591f1542d3a3afabbff22 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
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@intel.com>

---
 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 #2: 0001-KVM-Qemu-Fix-build-breakage-for-ia64.patch --]
[-- Type: application/octet-stream, Size: 1210 bytes --]

From 8b98bbdd71c979b4d63591f1542d3a3afabbff22 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
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@intel.com>

---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] KVM: Qemu : Fix build breakage for ia64.
@ 2008-12-18  2:13 ` Zhang, Xiantao
  0 siblings, 0 replies; 4+ messages in thread
From: Zhang, Xiantao @ 2008-12-18  2:13 UTC (permalink / raw)
  To: kvm-ia64

[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]

From 8b98bbdd71c979b4d63591f1542d3a3afabbff22 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
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@intel.com>

---
 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 #2: 0001-KVM-Qemu-Fix-build-breakage-for-ia64.patch --]
[-- Type: application/octet-stream, Size: 1210 bytes --]

From 8b98bbdd71c979b4d63591f1542d3a3afabbff22 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
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@intel.com>

---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] KVM: Qemu : Fix build breakage for ia64.
  2008-12-18  2:13 ` Zhang, Xiantao
@ 2008-12-18 10:15   ` Avi Kivity
  -1 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2008-12-18 10:15 UTC (permalink / raw)
  To: Zhang, Xiantao; +Cc: kvm-ia64, kvm

Zhang, Xiantao wrote:
> From 8b98bbdd71c979b4d63591f1542d3a3afabbff22 Mon Sep 17 00:00:00 2001
> From: Xiantao Zhang <xiantao.zhang@intel.com>
> 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@intel.com>
>   

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] KVM: Qemu : Fix build breakage for ia64.
@ 2008-12-18 10:15   ` Avi Kivity
  0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2008-12-18 10:15 UTC (permalink / raw)
  To: kvm-ia64

Zhang, Xiantao wrote:
> From 8b98bbdd71c979b4d63591f1542d3a3afabbff22 Mon Sep 17 00:00:00 2001
> From: Xiantao Zhang <xiantao.zhang@intel.com>
> 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@intel.com>
>   

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-18 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-18  2:13 [PATCH] KVM: Qemu : Fix build breakage for ia64 Zhang, Xiantao
2008-12-18  2:13 ` Zhang, Xiantao
2008-12-18 10:15 ` Avi Kivity
2008-12-18 10:15   ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.