qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] QEMU timing requirements


From: address@hidden
Subject: Re: [Qemu-devel] QEMU timing requirements
Date: Sat, 25 Jun 2011 18:28:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10

On 06/25/2011 06:26 AM, Mulyadi Santosa wrote:
On Sat, Jun 25, 2011 at 09:34, address@hidden
<address@hidden>  wrote:
Hello,

I am currently implementing some heuristics using a patched qemu
(i386-softmmu). Two of them take some time for each vm memory access. If I
run them both, suddenly qemu segfaults while executing a BBL. Using just one
of them never triggers this problem.
"Two" instances of Qemu running at the same time, you mean?


No. What I do is using gen_helper_ to compile hooks into call/ret/jmp and memory access. The Heuristics can then hook the events so calculation is done during the execution of a basic block. I thought that it could be possible that Qemu sets a timeout for BBL execution to prevent CPU monopolization by e.g. a long sequence of rep. That would make sense because my heuristics calculation time falls into the BBL execution time for Qemu. Does anyone know more about that?

Regards,
    Felix



reply via email to

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