diff options
author | Michael Roth <mdroth@linux.vnet.ibm.com> | 2011-07-19 14:50:37 -0500 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@gmail.com> | 2011-07-21 16:48:14 -0300 |
commit | ab02ab2aa7a36d78a579642caa404abd99acdc6e (patch) | |
tree | 804fb89fd19dcb31be40173edcfc1311684987b6 /Makefile.objs | |
parent | 43c20a43ca4b3fa265469887186eb0fee68e4a0d (diff) | |
download | qemu-ab02ab2aa7a36d78a579642caa404abd99acdc6e.zip qemu-ab02ab2aa7a36d78a579642caa404abd99acdc6e.tar.gz qemu-ab02ab2aa7a36d78a579642caa404abd99acdc6e.tar.bz2 |
qapi: add QMP dispatch functions
Given an object recieved via QMP, this code uses the dispatch table
provided by qmp_registry.c to call the corresponding marshalling/dispatch
function and format return values/errors for delivery to the QMP.
Currently only synchronous QMP functions are supported, but this will
also be used for async QMP functions and QMP guest proxy dispatch as
well.
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r-- | Makefile.objs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.objs b/Makefile.objs index c918ee7..52ad77b 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -376,7 +376,7 @@ libcacard-y = cac.o event.o vcard.o vreader.o vcard_emul_nss.o vcard_emul_type.o # qapi qapi-nested-y = qapi-visit-core.o qmp-input-visitor.o qmp-output-visitor.o qapi-dealloc-visitor.o -qapi-nested-y += qmp-registry.o +qapi-nested-y += qmp-registry.o qmp-dispatch.o qapi-obj-y = $(addprefix qapi/, $(qapi-nested-y)) vl.o: QEMU_CFLAGS+=$(GPROF_CFLAGS) |