]> git.proxmox.com Git - qemu.git/blobdiff - qemu-tool.c
usb-uhci: Use PCI DMA stub functions
[qemu.git] / qemu-tool.c
index 392e1c9505bc5dfdc17d3c00ce1d7989428972f1..e9f7fe1e1a8662e02a6da4639d72d51ed72270b9 100644 (file)
 #include "monitor.h"
 #include "qemu-timer.h"
 #include "qemu-log.h"
-#include "sysemu.h"
 
 #include <sys/time.h>
 
 QEMUClock *rt_clock;
+QEMUClock *vm_clock;
 
 FILE *logfile;
 
@@ -29,10 +29,6 @@ struct QEMUBH
     void *opaque;
 };
 
-void qemu_service_io(void)
-{
-}
-
 Monitor *cur_mon;
 
 int monitor_cur_is_qmp(void)
@@ -56,58 +52,43 @@ void monitor_print_filename(Monitor *mon, const char *filename)
 {
 }
 
-void async_context_push(void)
-{
-}
-
-void async_context_pop(void)
+void monitor_protocol_event(MonitorEvent event, QObject *data)
 {
 }
 
-int get_async_context_id(void)
+int qemu_set_fd_handler2(int fd,
+                         IOCanReadHandler *fd_read_poll,
+                         IOHandler *fd_read,
+                         IOHandler *fd_write,
+                         void *opaque)
 {
     return 0;
 }
 
-void monitor_protocol_event(MonitorEvent event, QObject *data)
-{
-}
-
-QEMUBH *qemu_bh_new(QEMUBHFunc *cb, void *opaque)
+void qemu_notify_event(void)
 {
-    QEMUBH *bh;
-
-    bh = qemu_malloc(sizeof(*bh));
-    bh->cb = cb;
-    bh->opaque = opaque;
-
-    return bh;
 }
 
-int qemu_bh_poll(void)
+QEMUTimer *qemu_new_timer(QEMUClock *clock, int scale,
+                          QEMUTimerCB *cb, void *opaque)
 {
-    return 0;
+    return g_malloc(1);
 }
 
-void qemu_bh_schedule(QEMUBH *bh)
+void qemu_free_timer(QEMUTimer *ts)
 {
-    bh->cb(bh->opaque);
+    g_free(ts);
 }
 
-void qemu_bh_cancel(QEMUBH *bh)
+void qemu_del_timer(QEMUTimer *ts)
 {
 }
 
-void qemu_bh_delete(QEMUBH *bh)
+void qemu_mod_timer(QEMUTimer *ts, int64_t expire_time)
 {
-    qemu_free(bh);
 }
 
-int qemu_set_fd_handler2(int fd,
-                         IOCanReadHandler *fd_read_poll,
-                         IOHandler *fd_read,
-                         IOHandler *fd_write,
-                         void *opaque)
+int64_t qemu_get_clock_ns(QEMUClock *clock)
 {
     return 0;
 }