From: Leon Yu Date: Mon, 2 Feb 2015 05:08:51 +0000 (+0000) Subject: qmp: unbreak build for non-vnc configuration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=89db21771782fd6050335e73542064f1187c9ced;p=qemu.git 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 --- 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