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

Include qemu-common.h for the prototype for qemu_mallocz to avoid
the being truncated to 32 bit.

Signed-off-by: Jes Sorensen <[EMAIL PROTECTED]>

---
 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;
-------------------------------------------------------------------------
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
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to