[Top][All Lists]

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

Re: [Qemu-devel] Qemu code copy

From: Piotras
Subject: Re: [Qemu-devel] Qemu code copy
Date: Sun, 21 Nov 2004 12:01:34 +0100


Code copy works by executing original code blocks (no translation 
is performed) when possible. If the block contains memory access 
instruction, it can be executed in code-copy mode only when virtual 
memory of emulated CPU is visible as qemu process virtual memory. 
This is what qemu-fast does with mmap.

I think that in practice nearly all code blocks contain memory access 
instructions. If so, it's not worth to enable code-copy for qemu-soft.

Probably it's possible to build simple code translator that would 
translate only memory access instructions and execute most of 
the other instructions natively.



On Fri, 19 Nov 2004 22:20:05 -0800, Shivkumar Shivaji
<address@hidden> wrote:
> Is there anything preventing qemu regular (not qemu-fast) from using
> code-copy? Currently, code copy only works on hard mmu. Is there a way
> to enable it on the regular qemu?

reply via email to

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