From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: [patch] qemu/ia64 include prototype for qemu_mallocz Date: Mon, 21 Apr 2008 17:35:11 +0200 Message-ID: <480CB42F.7040202@sgi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060507080502060405080203" Cc: kvm-devel@lists.sourceforge.net, kvm-ia64-devel@lists.sourceforge.net, "Zhang, Xiantao" To: Avi Kivity Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --------------060507080502060405080203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------060507080502060405080203 Content-Type: text/x-patch; name="ia64-malloc-debug.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ia64-malloc-debug.diff" Include qemu-common.h for the prototype for qemu_mallocz to avoid the being truncated to 32 bit. Signed-off-by: Jes Sorensen --- 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; --------------060507080502060405080203 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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 --------------060507080502060405080203 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------060507080502060405080203--