Index: /trunk/include/VBox/vmapi.h
===================================================================
--- /trunk/include/VBox/vmapi.h	(revision 245)
+++ /trunk/include/VBox/vmapi.h	(revision 246)
@@ -544,4 +544,14 @@
 
 /**
+ * Wait for VM to be resumed. Handle events like vmR3EmulationThread does.
+ * In case the VM is stopped, clean up and long jump to the main EMT loop.
+ *
+ * @returns VINF_SUCCESS or doesn't return
+ * @param   pVM             VM handle.
+ */
+VMR3DECL(int) VMR3WaitForResume(PVM pVM);
+
+
+/**
  * VM destruction callback.
  * @param   pVM     The VM which is about to be destroyed.
