summaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-24 18:03:11 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-24 18:03:11 +0000
commitd9f75a4eb449c96dd47731a4d6f1619f3c23b5e7 (patch)
tree22c64ca0a8c20130aeca278967aec186212a3b6f /qemu-common.h
parent96248fd89093579dd7257bda3357a28d3c848bba (diff)
downloadqemu-d9f75a4eb449c96dd47731a4d6f1619f3c23b5e7.tar.gz
qemu-d9f75a4eb449c96dd47731a4d6f1619f3c23b5e7.tar.bz2
qemu-d9f75a4eb449c96dd47731a4d6f1619f3c23b5e7.zip
qemu: create helper for event notification (Marcelo Tosatti)
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7236 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h
index c10043db7b..ee963c11de 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -186,6 +186,9 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id);
/* Force QEMU to stop what it's doing and service IO */
void qemu_service_io(void);
+/* Force QEMU to process pending events */
+void qemu_notify_event(void);
+
typedef struct QEMUIOVector {
struct iovec *iov;
int niov;