From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Ceeti-0002ht-4u for qemu-devel@nongnu.org; Wed, 15 Dec 2004 14:33:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Ceetf-0002f4-RM for qemu-devel@nongnu.org; Wed, 15 Dec 2004 14:33:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ceetf-0002er-E1 for qemu-devel@nongnu.org; Wed, 15 Dec 2004 14:33:15 -0500 Received: from [192.76.135.70] (helo=kurt.tools.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cee14-0006rf-8w for qemu-devel@nongnu.org; Wed, 15 Dec 2004 13:36:50 -0500 Received: from imap.tools.intra (imap3.tools.intra [172.20.0.8]) by kurt.tools.de (8.12.11/8.12.11) with ESMTP id iBFIakRA023761 for ; Wed, 15 Dec 2004 19:36:47 +0100 (MET) Received: from tiger2.tools.intra (tiger2.tools.intra [172.20.0.11]) by imap.tools.intra (8.13.1+Sun/8.13.1) with SMTP id iBFIakwR001964 for ; Wed, 15 Dec 2004 19:36:46 +0100 (MET) Message-Id: <200412151836.iBFIakwR001964@imap.tools.intra> Date: Wed, 15 Dec 2004 19:36:46 +0100 (CET) From: Juergen Keil Subject: Re: [Qemu-devel] page fault during ins MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: 87QTBJG5jDfOQvMIa7mM1g== Reply-To: Juergen Keil , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > Maybe someone who experiences the problem could check the attached > patch? The patch is not really correct, but chances are it could help. > diff -ru qemu-0.6.1/target-i386/translate.c > qemu-0.6.1-A-prepare/target-i386/translate.c > --- qemu-0.6.1/target-i386/translate.c 2004-11-14 21:51:33.000000000 +0100 > +++ qemu-0.6.1-A-prepare/target-i386/translate.c 2004-12-14 17:32:29.000000000 +0100 > @@ -874,8 +874,10 @@ > > static inline void gen_ins(DisasContext *s, int ot) > { > - gen_op_in_DX_T0[ot](); > gen_string_movl_A0_EDI(s); > + /* XXX: this is not correct, find another solution to avoid side-effect on restart (mmu fault) */ > + gen_op_st_T0_A0[ot + s->mem_index](); > + gen_op_in_DX_T0[ot](); > gen_op_st_T0_A0[ot + s->mem_index](); > gen_op_movl_T0_Dshift[ot](); > if (s->aflag) { I seems this patch doesn't help. I just tried a W2K install on a 1G qemu qcow HDD (host OS: Solaris x86), and got the "disk full" problem.