From 89db21771782fd6050335e73542064f1187c9ced Mon Sep 17 00:00:00 2001 From: Leon Yu Date: Mon, 2 Feb 2015 05:08:51 +0000 Subject: [PATCH] qmp: unbreak build for non-vnc configuration Signed-off-by: Leon Yu Message-id: 1422853731-5282-1-git-send-email-chianglungyu@gmail.com Fixes: df887684603a ("monitor: add query-vnc-servers command") Signed-off-by: Peter Maydell --- qmp.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.11.4.GIT