]> git.proxmox.com Git - qemu.git/blobdiff - qemu-tool.c
esp: use hba_private field instead of a complex cast
[qemu.git] / qemu-tool.c
index edb84f5f5d49f96a78e7ef616c75f9098a2d6d0a..318c5fcbca8a943b52fd5e765be9b5c0450db101 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <sys/time.h>
 
-FILE *logfile;
-
 struct QEMUBH
 {
     QEMUBHFunc *cb;
@@ -61,7 +59,7 @@ void monitor_protocol_event(MonitorEvent event, QObject *data)
 
 int64_t cpu_get_clock(void)
 {
-    return 0;
+    return qemu_get_clock_ns(rt_clock);
 }
 
 int64_t cpu_get_icount(void)
@@ -87,10 +85,13 @@ int qemu_init_main_loop(void)
 {
     init_clocks();
     init_timer_alarm();
-    qemu_clock_enable(vm_clock, false);
     return main_loop_init();
 }
 
+void slirp_update_timeout(uint32_t *timeout)
+{
+}
+
 void slirp_select_fill(int *pnfds, fd_set *readfds,
                        fd_set *writefds, fd_set *xfds)
 {