qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [Qemu-devel] [PATCH] monitor: fix build breakage with


From: Anthony Liguori
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] monitor: fix build breakage with --disable-vnc
Date: Fri, 29 Jul 2011 09:36:16 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10

On 07/25/2011 03:29 AM, TeLeMan wrote:
The breakage was introduced by the commit 
13661089810d3e59931f3e80d7cb541b99af7071

Signed-off-by: TeLeMan<address@hidden>

Applied.  Thanks.

Regards,

Anthony Liguori

---
  monitor.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/monitor.c b/monitor.c
index 92cdd05..52ae5f2 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1200,10 +1200,12 @@ static int add_graphics_client(Monitor *mon, const 
QDict *qdict, QObject **ret_d
          }
        qerror_report(QERR_ADD_CLIENT_FAILED);
        return -1;
+#ifdef CONFIG_VNC
      } else if (strcmp(protocol, "vnc") == 0) {
        int fd = monitor_get_fd(mon, fdname);
        vnc_display_add_client(NULL, fd, skipauth);
        return 0;
+#endif
      } else if ((s = qemu_chr_find(protocol)) != NULL) {
        int fd = monitor_get_fd(mon, fdname);
        if (qemu_chr_add_client(s, fd)<  0) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]