* [patch] qemu/ia64 include prototype for qemu_mallocz
@ 2008-04-21 15:35 Jes Sorensen
2008-04-22 11:18 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Jes Sorensen @ 2008-04-21 15:35 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel, kvm-ia64-devel, Zhang, Xiantao
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-22 11:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-21 15:35 [patch] qemu/ia64 include prototype for qemu_mallocz Jes Sorensen
2008-04-22 11:18 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox