diff mbox

qmp: Provide qmp_query_vnc_servers stub for VNC-free build

Message ID 54E5A284.9060907@siemens.com
State New
Headers show

Commit Message

Jan Kiszka Feb. 19, 2015, 8:44 a.m. UTC
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 qmp.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

diff --git a/qmp.c b/qmp.c
index 7f2d25a..ec070da 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