From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuYMg-0006zV-32 for qemu-devel@nongnu.org; Mon, 06 Feb 2012 18:52:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuYMf-000740-1p for qemu-devel@nongnu.org; Mon, 06 Feb 2012 18:52:54 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:49284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuYMe-00072e-Tp for qemu-devel@nongnu.org; Mon, 06 Feb 2012 18:52:53 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 7D0D739E800A for ; Mon, 6 Feb 2012 15:52:19 -0800 (PST) Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4-yvkXtV2dsn for ; Mon, 6 Feb 2012 15:52:19 -0800 (PST) Received: from mail.cs.ucla.edu (mail.cs.ucla.edu [131.179.128.60]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 0B11739E8007 for ; Mon, 6 Feb 2012 15:52:19 -0800 (PST) Date: Mon, 06 Feb 2012 15:52:18 -0800 (PST) From: Gauresh Rane Message-ID: In-Reply-To: <8c0d8a17-9ca3-478b-9216-0a3099b36dec@mail.cs.ucla.edu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Subject: [Qemu-devel] Alarm_has_dynticks & Time inside guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I don't understand this code: static inline int alarm_has_dynticks(struct qemu_alarm_timer *t) { return !!t->rearm; } Also, can anyone provide me a general description about how track of time is kept for the virtual machine. Like I see that real time activities has realtime clocks. But if a guest goes to sleep how is time moved for the guest. Also how is the virtual time of the guest updated, Is qemu_wrap_time answer to that. Thanks, Regards, Gauresh Rane Grad Student CS Department UCLA