Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2007 17:38:50 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-emulation@FreeBSD.org
Cc:        Juergen Lock <nox@FreeBSD.org>
Subject:   [PATCH] Fix QEMU crash on amd64
Message-ID:  <200701311738.52070.jkim@FreeBSD.org>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I have been experiencing QEMU crash on FreeBSD/amd64 host ever since 
Fabrice had added SMP support.  Recently it was reported on QEMU 
development mailing list:

http://lists.gnu.org/archive/html/qemu-devel/2007-01/msg00285.html

For more than a year, I have been running QEMU with SMP support 
disabled because of this issue.  Today I finally found some time to 
tackle this and got a fix.

FYI...

Jung-uk Kim

[-- Attachment #2 --]
--- qemu/cpu-exec.c.orig	Wed Jan 31 16:58:03 2007
+++ qemu/cpu-exec.c	Wed Jan 31 17:08:11 2007
@@ -226,9 +226,9 @@
 
 int cpu_exec(CPUState *env1)
 {
-    int saved_T0, saved_T1;
+    long saved_T0, saved_T1;
 #if defined(reg_T2)
-    int saved_T2;
+    long saved_T2;
 #endif
     CPUState *saved_env;
 #if defined(TARGET_I386)
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701311738.52070.jkim>