diff options
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index ee963c11de..e6a555e531 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -189,6 +189,12 @@ void qemu_service_io(void); /* Force QEMU to process pending events */ void qemu_notify_event(void); +#ifdef CONFIG_USER_ONLY +#define qemu_init_vcpu(env) do { } while (0) +#else +void qemu_init_vcpu(void *env); +#endif + typedef struct QEMUIOVector { struct iovec *iov; int niov; |