qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Cooperative BBL execution due to binary translation


From: address@hidden
Subject: [Qemu-devel] Cooperative BBL execution due to binary translation
Date: Sun, 16 Oct 2011 04:19:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15

Hi *,

I have the following question regarding qemu binary translation of
target-i386 (and maybe other targets):

As far as I understood the code, when a basic block is executed, there
is no event which can interrupt the execution until the bbl reaches its
end and the control flow is then back at qemu. Is this right? Stumbled
over this when asking me why basic blocks are sometimes divided even if
there is no branch in it.

If so, is the reason for this that some application like that could
cause timing problems:

c = get_executable_memory(1Gb)
set(c, OPCODE_NOP, sizeof c)
jmp_into c

Regards,
    Felix



reply via email to

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