aboutsummaryrefslogtreecommitdiff
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
parent3d815ac82b0a3e816fd7a6d2561a73e780c3b685 (diff)
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>
-rw-r--r--qmp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmp.c b/qmp.c
index 20a9e9739f..6b2c4bef3b 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