mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
aio / timers: Rename qemu_new_clock and expose clock types
Rename qemu_new_clock to qemu_clock_new. Expose clock types. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
e93379b039
commit
58ac56b9ad
2 changed files with 8 additions and 8 deletions
|
@ -11,6 +11,10 @@
|
|||
#define SCALE_US 1000
|
||||
#define SCALE_NS 1
|
||||
|
||||
#define QEMU_CLOCK_REALTIME 0
|
||||
#define QEMU_CLOCK_VIRTUAL 1
|
||||
#define QEMU_CLOCK_HOST 2
|
||||
|
||||
typedef struct QEMUClock QEMUClock;
|
||||
typedef void QEMUTimerCB(void *opaque);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue