|
From: | puckbee |
Subject: | [Qemu-devel] The details of round robin of multi-vcpu in TCG mode |
Date: | Tue, 16 Apr 2013 09:51:11 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 |
Hi there: Sorry to post this problem a second time, for I thought maybe the question is not descripted clearly. I'm studying the execution details of multi-vcpu in TCG mode. The vcpus in TCG mode are executed one by one in a sequencial way, according to some articles about Qemu. I read the function [tcg_exec_all] in Qemu 1.3.0 as bellow, but the implementation is not as expected. [tcg_exec_all] will finally call [cpu_exec] to excute a loop to excute the TBs in code cache So,how does these functions control the running time of each VCPU? That is,when will the execution of one VCPU return, in order to execute the next_cpu in the loop of [tcg_exec_all]. Using alarm timer or other methonds? Yours Puck |
[Prev in Thread] | Current Thread | [Next in Thread] |