From: Jes Sorensen <jes@sgi.com>
To: kvm-ia64@vger.kernel.org
Subject: [patch] kvm-userland ia64 build fix
Date: Wed, 25 Mar 2009 15:56:39 +0000 [thread overview]
Message-ID: <49CA5437.4080903@sgi.com> (raw)
[-- 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
next reply other threads:[~2009-03-25 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-25 15:56 Jes Sorensen [this message]
2009-03-25 16:06 ` [patch] kvm-userland ia64 build fix Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49CA5437.4080903@sgi.com \
--to=jes@sgi.com \
--cc=kvm-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox