public inbox for kvm-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] kvm-userland ia64 build fix
@ 2009-03-25 15:56 Jes Sorensen
  2009-03-25 16:06 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Jes Sorensen @ 2009-03-25 15:56 UTC (permalink / raw)
  To: kvm-ia64

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

Hi,

In order to build current QEMU on ia64, we need to define CPUState as
struct CPUIA64State instead of relying on the typedef.

Please apply.

Cheers,
Jes


[-- Attachment #2: 0001-qemu-ia64-cpustate-build-fix.patch --]
[-- Type: text/x-patch, Size: 793 bytes --]

Define CPUState as struct CPUIA64State to avoid compile errors on ia64.

Signed-off-by: Jes Sorensen <jes@sgi.com>

---
 qemu/target-ia64/cpu.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Index: kvm-userspace2.git/qemu/target-ia64/cpu.h
===================================================================
--- kvm-userspace2.git.orig/qemu/target-ia64/cpu.h
+++ kvm-userspace2.git/qemu/target-ia64/cpu.h
@@ -40,13 +40,15 @@
 #include "cpu-defs.h"
 
 #include "softfloat.h"
+
+#define CPUState struct CPUIA64State
+
 typedef struct CPUIA64State {
     CPU_COMMON;
     uint32_t hflags;
     int mp_state;
 } CPUIA64State;
 
-#define CPUState CPUIA64State
 #define cpu_gen_code cpu_ia64_gen_code
 #define cpu_init cpu_ia64_init
 #define cpu_signal_handler cpu_ia64_signal_handler

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

end of thread, other threads:[~2009-03-25 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 15:56 [patch] kvm-userland ia64 build fix Jes Sorensen
2009-03-25 16:06 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox