qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] softmmu thoughts


From: Jens Arm
Subject: Re: [Qemu-devel] softmmu thoughts
Date: Wed, 15 Dec 2004 08:50:16 +0100

> I'm attaching a new patch based on your suggestions. On my machine 
> nbench gives:
>     memory index: 37% up
>     integer index: 36% up
>     fp index: 4% up
> 
> The patch is divided in three files to simplify review. Part 1 contains 
> mostly rearrangement existing code necessary for the patch. Part 2 
> adds the new mmu mode. Part 3 contains heuristic to optimize 
> performance of iomem and self modifying code.
> 
> To test the patch create a build directory and run:
>  > tar -zxf _PATH_TO_qemu-0.6.1.tar.gz
>  > tar -zxf _PATH_TO_linux-test-0.5.1.tar.gz
>  > cd qemu-0.6.1
>  > ./configure --target-list=i386-softmmu
>  > gunzip < _PATH_TO_mmu-part1.patch.gz | patch -p1
>  > gunzip < _PATH_TO_mmu-part2.patch.gz | patch -p1
>  > gunzip < _PATH_TO_mmu-part3.patch.gz | patch -p1
>  > make
>  > ./i386-softmmu/qemu -m 64 -L pc-bios -hda ../linux-test/linux.img

One hunk is failing, if I try to patch newest CVS:

address@hidden qemu]$ patch -p1 < ../mmu-part2.patch 
patching file Makefile.target
patching file configure
patching file cpu-exec.c
patching file exec.c
patching file mmu_map.c
patching file mmu_map.h
patching file mmu_map_templ.h
patching file osdep.c
patching file target-i386/cpu.h
patching file target-i386/exec.h
patching file target-i386/helper2.c
patching file target-i386/op.c
patching file target-i386/ops_template.h
patching file target-i386/ops_template_mem.h
patching file target-i386/translate.c
Hunk #12 succeeded at 4408 (offset 12 lines).
Hunk #13 succeeded at 4531 (offset 12 lines).
Hunk #14 succeeded at 4574 (offset 12 lines).
Hunk #15 succeeded at 4660 (offset 12 lines).
patching file vl.c
Hunk #1 succeeded at 1733 (offset 41 lines).
Hunk #2 FAILED at 2665.
Hunk #3 succeeded at 2739 (offset 50 lines).
Hunk #4 succeeded at 2818 (offset 50 lines).
Hunk #5 succeeded at 3170 with fuzz 2 (offset 74 lines).
Hunk #6 succeeded at 3247 (offset 74 lines).
Hunk #7 succeeded at 3281 (offset 74 lines).
Hunk #8 succeeded at 3399 (offset 76 lines).
1 out of 8 hunks FAILED -- saving rejects to file vl.c.rej

Jens




reply via email to

[Prev in Thread] Current Thread [Next in Thread]