]> git.proxmox.com Git - qemu.git/commitdiff
qemu-tool: do not depend on qemu-timer.c
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Oct 2012 17:03:10 +0000 (18:03 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Oct 2012 08:18:44 +0000 (09:18 +0100)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qemu-tool.c

index 28a4e8d42af694696351765552fd9cad11684268..b46631e4227af0351adec88d46b6f384efa1fff5 100644 (file)
@@ -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)