On Tue, Sep 13, 2011 at 05:13:41PM +0400, Boris Dolgov wrote: > Hello! > > Qemu-kvm 0.15.0 doesn't build with vnc support disabled. The following > patch fixes the problem: > > Signed-off-by: Boris Dolgov <boris@xxxxxxxxxxx> > > ----- monitor.c~ 2011-08-09 12:40:29.000000000 +0000 > +++ monitor.c 2011-09-13 13:02:40.000000000 +0000 > @@ -1221,10 +1221,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) { > > -- > Boris Dolgov. Boris, Does QEMU upstream suffer from the same problem? If so, it should be fixed there (patch sent to qemu-devel@xxxxxxxxxx). -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html