Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8QOO-0002MD-Ih for qemu-devel@nongnu.org; Mon, 16 Jun 2008 21:53:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8QON-0002KS-Du for qemu-devel@nongnu.org; Mon, 16 Jun 2008 21:53:52 -0400 Received: from [199.232.76.173] (port=58872 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8QON-0002KF-7r for qemu-devel@nongnu.org; Mon, 16 Jun 2008 21:53:51 -0400 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:51837 helo=akado.ru) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8QOM-0008Gq-UJ for qemu-devel@nongnu.org; Mon, 16 Jun 2008 21:53:51 -0400 Received: from av1474.oops ([10.0.66.9] verified) by fe02-cgp.akado.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 13778165 for qemu-devel@nongnu.org; Tue, 17 Jun 2008 05:53:36 +0400 Date: Tue, 17 Jun 2008 05:53:36 +0400 (MSD) From: malc Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: [Qemu-devel] Wall clock time device Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, At http://repo.or.cz/w/qemu/malc.git?a=shortlog;h=refs/heads/wctpci you can find implementation of a simple PCI device that provides the guest with the ability to read hosts real time clock. There's a sample code inside the above repository to demonstrate how this can be achieved under Linux, the code just times how much real and virtualized time elapses during a call to sleep. Feedback apprecaited. -- mailto:av1474@comtv.ru