aboutsummaryrefslogtreecommitdiff
path: root/qmp.c
diff options
context:
space:
mode:
authorLeon Yu <chianglungyu@gmail.com>2015-02-02 05:08:51 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-02-09 22:36:04 +0000
commit89db21771782fd6050335e73542064f1187c9ced (patch)
treea9da33cb6f061b31901fb42503218e25c875b8fb /qmp.c
parent3d815ac82b0a3e816fd7a6d2561a73e780c3b685 (diff)
downloadqemu-89db21771782fd6050335e73542064f1187c9ced.zip
qemu-89db21771782fd6050335e73542064f1187c9ced.tar.gz
qemu-89db21771782fd6050335e73542064f1187c9ced.tar.bz2
qmp: unbreak build for non-vnc configuration
Signed-off-by: Leon Yu <chianglungyu@gmail.com> Message-id: 1422853731-5282-1-git-send-email-chianglungyu@gmail.com Fixes: df887684603a ("monitor: add query-vnc-servers command") Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qmp.c')
-rw-r--r--qmp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmp.c b/qmp.c
index 20a9e97..6b2c4be 100644
--- a/qmp.c
+++ b/qmp.c
@@ -134,6 +134,12 @@ VncInfo *qmp_query_vnc(Error **errp)
error_set(errp, QERR_FEATURE_DISABLED, "vnc");
return NULL;
};
+
+VncInfo2List *qmp_query_vnc_servers(Error **errp)
+{
+ error_set(errp, QERR_FEATURE_DISABLED, "vnc");
+ return NULL;
+};
#endif
#ifndef CONFIG_SPICE