Re: [Qemu-devel] [PATCH 13/18] vnc: add error propagation to vnc_display_open

2012-10-04 Thread Paolo Bonzini
Il 05/10/2012 08:28, Paolo Bonzini ha scritto: >>> void vnc_display_add_client(DisplayState *ds, int csock, int skipauth) >>> diff --git a/vl.c b/vl.c >>> index 53917c9..45a5ba5 100644 >>> --- a/vl.c >>> +++ b/vl.c >>> @@ -3692,8 +3692,11 @@ int main(int argc, char **argv, char **envp) >>> #ifdef

Re: [Qemu-devel] [PATCH 13/18] vnc: add error propagation to vnc_display_open

2012-10-04 Thread Paolo Bonzini
Il 04/10/2012 22:29, Luiz Capitulino ha scritto: > On Wed, 3 Oct 2012 16:37:00 +0200 > Paolo Bonzini wrote: > >> Before: >> >> $ qemu-system-x86_64 -vnc foo.bar:12345 >> getaddrinfo(foo.bar,18245): Name or service not known >> Failed to start VNC server on `foo.bar:12345' >> >> $

Re: [Qemu-devel] [PATCH 13/18] vnc: add error propagation to vnc_display_open

2012-10-04 Thread Luiz Capitulino
On Wed, 3 Oct 2012 16:37:00 +0200 Paolo Bonzini wrote: > Before: > > $ qemu-system-x86_64 -vnc foo.bar:12345 > getaddrinfo(foo.bar,18245): Name or service not known > Failed to start VNC server on `foo.bar:12345' > > $ qemu-system-x86_64 -vnc localhost:12345,reverse=on > in

[Qemu-devel] [PATCH 13/18] vnc: add error propagation to vnc_display_open

2012-10-03 Thread Paolo Bonzini
Before: $ qemu-system-x86_64 -vnc foo.bar:12345 getaddrinfo(foo.bar,18245): Name or service not known Failed to start VNC server on `foo.bar:12345' $ qemu-system-x86_64 -vnc localhost:12345,reverse=on inet_connect_opts: connect(ipv4,yakj.usersys.redhat.com,127.0.0.1,12345): C