summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorAnthony Liguori2011-09-02 19:34:46 +0200
committerLuiz Capitulino2011-10-04 16:00:46 +0200
commit776574d6417cf623fb071987cdd2c6bc13271dc2 (patch)
treed1ceb48587b1e32f0e5448628b24bd9d80bdbb7b /qapi
parentqerror: add qerror_report_err() (diff)
downloadqemu-776574d6417cf623fb071987cdd2c6bc13271dc2.tar.gz
qemu-776574d6417cf623fb071987cdd2c6bc13271dc2.tar.xz
qemu-776574d6417cf623fb071987cdd2c6bc13271dc2.zip
qapi: add code generation support for middle mode
To get the ball rolling merging QAPI, this patch introduces a "middle mode" to the code generator. In middle mode, the code generator generates marshalling functions that are compatible with the current QMP server. We absolutely need to replace the current QMP server in order to support proper asynchronous commands but using a middle mode provides a middle-ground that lets us start converting commands in tree. Note that all of the commands have been converted already in my glib branch. Middle mode only exists until we finish merging them from my branch into the main tree. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/qapi-types-core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qapi/qapi-types-core.h b/qapi/qapi-types-core.h
index a79bc2b3c3..27e6be0a87 100644
--- a/qapi/qapi-types-core.h
+++ b/qapi/qapi-types-core.h
@@ -17,4 +17,7 @@
#include "qemu-common.h"
#include "error.h"
+/* FIXME this is temporary until we remove middle mode */
+#include "monitor.h"
+
#endif