[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] qemu: Fix build failure without VNC support
From: |
Boris Dolgov |
Subject: |
[Qemu-devel] [PATCH] qemu: Fix build failure without VNC support |
Date: |
Wed, 14 Sep 2011 18:16:48 +0400 |
Hello!
Qemu 0.15.0 doesn't build with vnc support disabled. The following
patch fixes the problem.
Signed-off-by: Boris Dolgov <address@hidden>
--
--- monitor.c.orig 2011-09-14 18:11:12.235199764 +0400
+++ monitor.c 2011-09-14 18:12:19.187709823 +0400
@@ -1200,10 +1200,12 @@ static int add_graphics_client(Monitor *
}
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) {
- [Qemu-devel] [PATCH] qemu: Fix build failure without VNC support,
Boris Dolgov <=