Skip to contentSkip to conversation

qmp: unbreak build for non-vnc configuration

PATCH In review Leon Yu 2 participants 2 messages Feb 2, 2015 – Feb 9, 2015

lore
Share & tools
lore

Leon Yu

author
#0 lore raw

PATCH 1/1 qmp: unbreak build for non-vnc configuration

Fixes df887684603a ("monitor: add query-vnc-servers command")
---
 qmp.c | 6 ++++++
 1 file changed, 6 insertions(+)
qmp.c +6 -0
index 963305c..ae55f1e 100644
@@ -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
Signature · 1 line
2.2.2
#1 lore raw
Quoted 13 lines · Leon Yu
Fixes df887684603a ("monitor: add query-vnc-servers command")
---
 qmp.c | 6 ++++++
 1 file changed, 6 insertions(+)
qmp.c +0 -0
index 963305c..ae55f1e 100644
@@ -134,6 +134,12 @@ VncInfo *qmp_query_vnc(Error **errp)
     error_set(errp, QERR_FEATURE_DISABLED, "vnc");
     return NULL;

qmp.c VncInfo *qmp_query_vnc(Error **errp) · line 145

Quoted 10 lines
qmp.c +6 -0
 };
+
+VncInfo2List *qmp_query_vnc_servers(Error **errp)
+{
+    error_set(errp, QERR_FEATURE_DISABLED, "vnc");
+    return NULL;
+};
 #endif
 
 #ifndef CONFIG_SPICE

Thanks; applied to master as a build fix.

-- PMM