]> git.proxmox.com Git - qemu.git/blobdiff - qemu-timer.h
list MST as pci layer maintainer
[qemu.git] / qemu-timer.h
index e44c33420f8f8014f4dbf7629f60527c1dbddef4..e7eaa0436c6746615c362eb46b2bd703788e4773 100644 (file)
@@ -17,6 +17,13 @@ extern QEMUClock *rt_clock;
    precision clock, usually cpu cycles (use ticks_per_sec). */
 extern QEMUClock *vm_clock;
 
+/* The host clock should be use for device models that emulate accurate
+   real time sources. It will continue to run when the virtual machine
+   is suspended, and it will reflect system time changes the host may
+   undergo (e.g. due to NTP). The host clock has the same precision as
+   the virtual clock. */
+extern QEMUClock *host_clock;
+
 int64_t qemu_get_clock(QEMUClock *clock);
 
 QEMUTimer *qemu_new_timer(QEMUClock *clock, QEMUTimerCB *cb, void *opaque);