[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] page fault during ins
From: |
Juergen Keil |
Subject: |
Re: [Qemu-devel] page fault during ins |
Date: |
Wed, 15 Dec 2004 19:36:46 +0100 (CET) |
> 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.