From patchwork Mon Oct 29 18:07:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 195132 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B5C182C007D for ; Tue, 30 Oct 2012 06:13:49 +1100 (EST) Received: from localhost ([::1]:55006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStlh-0004ca-C2 for incoming@patchwork.ozlabs.org; Mon, 29 Oct 2012 14:08:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStlF-0003mz-4t for qemu-devel@nongnu.org; Mon, 29 Oct 2012 14:08:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TStlD-0005lh-Ug for qemu-devel@nongnu.org; Mon, 29 Oct 2012 14:08:28 -0400 Received: from mail-da0-f45.google.com ([209.85.210.45]:48867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStlD-0005en-Gp for qemu-devel@nongnu.org; Mon, 29 Oct 2012 14:08:27 -0400 Received: by mail-da0-f45.google.com with SMTP id n15so2388289dad.4 for ; Mon, 29 Oct 2012 11:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; bh=/rpJM8nsyXds3EqDYqIdgtyjYGYJj4PX0mcULv3Fr0I=; b=1CGmstzgdGlqSUWehihMmYFVpt883c2A8Sxd0rB1aj2OgVPQdXdoX9PPm7EeNactye ivsFQ8vUcCjdfgZbm8LvJAz0B3+VabEon/I+ciErC0HuAj6vBKvF/eb0jEJB8NDzoXSX QRA/uau5nodNSiCWJror2CovcqQWVo03DGeTcplYkbkqFL9nnau8FH+htyvhi/aHN0fb qvNyTsv79DNdNwOq1PElHPHuR7KrlLlzRbFV3nQ2VA8h1wBrAN94nN4+eAn3bAUK6Rdr w/Ns4zm6JxDhv6+sXNm+K7kCVTLh1HD6xo9sCBL0o39lVxS4lVxdJoJWOWwBg2WWiyE4 66WQ== Received: by 10.66.83.9 with SMTP id m9mr85336699pay.22.1351534107273; Mon, 29 Oct 2012 11:08:27 -0700 (PDT) Received: from yakj.usersys.redhat.com (93-34-169-1.ip50.fastwebnet.it. [93.34.169.1]) by mx.google.com with ESMTPS id vi9sm6327135pbc.41.2012.10.29.11.08.24 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Oct 2012 11:08:26 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 29 Oct 2012 19:07:17 +0100 Message-Id: <1351534038-15503-11-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.7.12.1 In-Reply-To: <1351534038-15503-1-git-send-email-pbonzini@redhat.com> References: <1351534038-15503-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.45 Subject: [Qemu-devel] [PATCH 10/11] qemu-tool: do not depend on qemu-timer.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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)