|
From: | Anthony Liguori |
Subject: | [Qemu-devel] Re: [PATCH 20/32] accel_trace_io |
Date: | Thu, 23 Oct 2008 09:20:26 -0500 |
User-agent: | Thunderbird 2.0.0.17 (X11/20080925) |
Glauber Costa wrote:
From: Glauber Costa <address@hidden> kqemu keeps trace of the last io done. Do it through an accel_wrapper.
The hooks here are probably not the best they could be. The purpose of this code in kqemu, from what I can tell, is to control how long we run in softmmu before trying to run in the kernel again. I presume this is mainly for kernel-kqemu.
When kernel-kqemu encounters an instruction it can't handle, it drops to userspace and runs in softmmu for a while. The question is how long should it run in softmmu and this is a heuristic. This is what the code is doing.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |