qmp: unbreak build for non-vnc configuration
Signed-off-by: Leon Yu <chianglungyu@gmail.com>
Message-id: 1422853731-5282-1-git-send-email-chianglungyu@gmail.com
Fixes: df88768460
("monitor: add query-vnc-servers command")
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
3d815ac82b
commit
89db217717
6
qmp.c
6
qmp.c
@ -134,6 +134,12 @@ VncInfo *qmp_query_vnc(Error **errp)
|
|||||||
error_set(errp, QERR_FEATURE_DISABLED, "vnc");
|
error_set(errp, QERR_FEATURE_DISABLED, "vnc");
|
||||||
return NULL;
|
return NULL;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
VncInfo2List *qmp_query_vnc_servers(Error **errp)
|
||||||
|
{
|
||||||
|
error_set(errp, QERR_FEATURE_DISABLED, "vnc");
|
||||||
|
return NULL;
|
||||||
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_SPICE
|
#ifndef CONFIG_SPICE
|
||||||
|
Loading…
Reference in New Issue
Block a user