qmp: unbreak build for non-vnc configuration
PATCH 1/1 qmp: unbreak build for non-vnc configuration
Signed-off-by Leon Yu <[email protected]>
Fixes df887684603a ("monitor: add query-vnc-servers command")
--- qmp.c | 6 ++++++ 1 file changed, 6 insertions(+)
qmp.c +6 -0
@@ -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
Quoted 13 lines · Leon Yu
Signed-off-by Leon Yu <[email protected]>Fixes df887684603a ("monitor: add query-vnc-servers command")--- qmp.c | 6 ++++++ 1 file changed, 6 insertions(+)qmp.c +0
-0@@ -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