From: Jes Sorensen <jes@sgi.com>
To: Avi Kivity <avi@qumranet.com>
Cc: kvm-devel@lists.sourceforge.net,
kvm-ia64-devel@lists.sourceforge.net, "Zhang,
Xiantao" <xiantao.zhang@intel.com>
Subject: [patch] qemu/ia64 include prototype for qemu_mallocz
Date: Mon, 21 Apr 2008 17:35:11 +0200 [thread overview]
Message-ID: <480CB42F.7040202@sgi.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
Hi,
This one fixes a segfault problem I am seeing on ia64 due to the
malloc'ed address being truncated to 32 bit.
Cheers,
Jes
[-- Attachment #2: ia64-malloc-debug.diff --]
[-- Type: text/x-patch, Size: 544 bytes --]
Include qemu-common.h for the prototype for qemu_mallocz to avoid
the being truncated to 32 bit.
Signed-off-by: Jes Sorensen <jes@sgi.com>
---
target-ia64/op_helper.c | 1 +
1 file changed, 1 insertion(+)
Index: qemu/target-ia64/op_helper.c
===================================================================
--- qemu.orig/target-ia64/op_helper.c
+++ qemu/target-ia64/op_helper.c
@@ -25,6 +25,7 @@
#include "exec-all.h"
#include "qemu-kvm.h"
+#include "qemu-common.h"
CPUState *cpu_ia64_init(char *cpu_model){
CPUState *env;
[-- Attachment #3: Type: text/plain, Size: 320 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
[-- Attachment #4: Type: text/plain, Size: 158 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
next reply other threads:[~2008-04-21 15:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-21 15:35 Jes Sorensen [this message]
2008-04-22 11:18 ` [patch] qemu/ia64 include prototype for qemu_mallocz 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=480CB42F.7040202@sgi.com \
--to=jes@sgi.com \
--cc=avi@qumranet.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=kvm-ia64-devel@lists.sourceforge.net \
--cc=xiantao.zhang@intel.com \
/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