From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTaGn-0007ON-3C for qemu-devel@nongnu.org; Wed, 31 Oct 2012 11:31:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTaGh-00056s-Qh for qemu-devel@nongnu.org; Wed, 31 Oct 2012 11:31:52 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:41123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTaGh-0004ui-KL for qemu-devel@nongnu.org; Wed, 31 Oct 2012 11:31:47 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp2so1021969pbb.4 for ; Wed, 31 Oct 2012 08:31:47 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 31 Oct 2012 16:30:27 +0100 Message-Id: <1351697456-16107-11-git-send-email-pbonzini@redhat.com> In-Reply-To: <1351697456-16107-1-git-send-email-pbonzini@redhat.com> References: <1351697456-16107-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v2 10/39] qemu-tool: do not depend on qemu-timer.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, stefanha@redhat.com Signed-off-by: Paolo Bonzini --- qemu-tool.c | 2 +- 1 file modificato, 1 inserzione(+). 1 rimozione(-) diff --git a/qemu-tool.c b/qemu-tool.c index 28a4e8d..b46631e 100644 --- a/qemu-tool.c +++ b/qemu-tool.c @@ -70,7 +70,7 @@ void monitor_protocol_event(MonitorEvent event, QObject *data) int64_t cpu_get_clock(void) { - return qemu_get_clock_ns(rt_clock); + return get_clock_realtime(); } int64_t cpu_get_icount(void) -- 1.7.12.1