Received: from eggs.gnu.org ([208.118.235.92]:52249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UURzq-0006uz-Sw for qemu-devel@nongnu.org; Mon, 22 Apr 2013 21:26:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UURzo-0000vY-3M for qemu-devel@nongnu.org; Mon, 22 Apr 2013 21:26:14 -0400 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:15663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UURzn-0000sK-Ib for qemu-devel@nongnu.org; Mon, 22 Apr 2013 21:26:12 -0400 Date: Tue, 23 Apr 2013 09:25:49 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= Message-ID: <20130423012549.GA19080@cs.nctu.edu.tw> References: <513EF6A0.4000601@ict.ac.cn> <516C121D.40703@ict.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <516C121D.40703@ict.ac.cn> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Round robin of multi-vcpu in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?6Kej5aOB5Lyf?= Cc: qemu-devel@nongnu.org > I've examined the alarm timmer, this timer is used to interrupt the > execution of VCPUs to handle interruptions. IIRC, alarm timer will interrupt VCPU to execute the next one. You can check where QEMU register the alarm timer, and see how it works. Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj