remove CPUID host hacks
[qemu-kvm/fedora.git] / monitor.h
blob13e8cc7647eeda8edfd64ae79049726040108038
1 #ifndef MONITOR_H
2 #define MONITOR_H
4 #include "qemu-common.h"
5 #include "qemu-char.h"
6 #include "block.h"
8 extern Monitor *cur_mon;
10 /* flags for monitor_init */
11 #define MONITOR_IS_DEFAULT 0x01
12 #define MONITOR_USE_READLINE 0x02
14 void monitor_init(CharDriverState *chr, int flags);
16 int monitor_suspend(Monitor *mon);
17 void monitor_resume(Monitor *mon);
19 void monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs,
20 BlockDriverCompletionFunc *completion_cb,
21 void *opaque);
23 void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap);
24 void monitor_printf(Monitor *mon, const char *fmt, ...)
25 __attribute__ ((__format__ (__printf__, 2, 3)));
26 void monitor_print_filename(Monitor *mon, const char *filename);
27 void monitor_flush(Monitor *mon);
29 #endif /* !MONITOR_H */