qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qmp: unbreak build for non-vnc configuration
@ 2015-02-02  5:08 Leon Yu
  2015-02-09 22:53 ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Yu @ 2015-02-02  5:08 UTC (permalink / raw)
  To: Luiz Capitulino, Gerd Hoffmann; +Cc: qemu-devel, Leon Yu

Signed-off-by: Leon Yu <chianglungyu@gmail.com>
Fixes: df887684603a ("monitor: add query-vnc-servers command")
---
 qmp.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/qmp.c b/qmp.c
index 963305c..ae55f1e 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
-- 
2.2.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] qmp: unbreak build for non-vnc configuration
  2015-02-02  5:08 [Qemu-devel] [PATCH] qmp: unbreak build for non-vnc configuration Leon Yu
@ 2015-02-09 22:53 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2015-02-09 22:53 UTC (permalink / raw)
  To: Leon Yu; +Cc: QEMU Developers, Gerd Hoffmann, Luiz Capitulino

On 2 February 2015 at 05:08, Leon Yu <chianglungyu@gmail.com> wrote:
> Signed-off-by: Leon Yu <chianglungyu@gmail.com>
> Fixes: df887684603a ("monitor: add query-vnc-servers command")
> ---
>  qmp.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/qmp.c b/qmp.c
> index 963305c..ae55f1e 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

Thanks; applied to master as a build fix.

-- PMM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-09 22:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02  5:08 [Qemu-devel] [PATCH] qmp: unbreak build for non-vnc configuration Leon Yu
2015-02-09 22:53 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).