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:
Alex Bligh 2013-08-21 16:02:40 +01:00 committed by Stefan Hajnoczi
parent e93379b039
commit 58ac56b9ad
2 changed files with 8 additions and 8 deletions

View file

@ -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);