[et-mgmt-tools] [PATCH] workarounds and fixes for new gtk-vnc integration in console.py

Daniel P. Berrange berrange at redhat.com
Fri Aug 31 21:46:25 UTC 2007


On Fri, Aug 31, 2007 at 07:57:17PM +0200, Bernhard Kaindl wrote:
> On Fri, 31 Aug 2007, Bernhard Kaindl wrote:
> >
> >Note: The message which was displayed when the gtk-vnc widget got the
> >ECONNREFUSED (Connection refused) error when connecting to <hostname>:5900
> >sounds a bit misleading to me.
> >
> >socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
> >connect(4, {sa_family=AF_INET, sin_port=htons(5900), 
> >sin_addr=inet_addr("<my host's LAN IP address here>")}, 16) = -1 
> >ECONNREFUSED (Connection refused)
> >
> >The message resulting from this was:
> >
> >"Console was disconnected from guest"
> 
> Another message like this still apppeared when starting a new QEMU / KVM 
> guest
> from virt-manager, and the changes which I did in that regard to fix this
> are found in the cumulated patch below.

[snip]

> Without this patch, a the console of a newly started KVM / QEMU guest is 
> only shown after
> toggling pause if the console window was open while starting it, and also 
> some intermittent
> messages which could cause unneccesary confusion are displayed. I can split 
> it up, but
> it should be rather clear what it does.

That's fine - it works as expected, so I've committed it.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the et-mgmt-tools mailing list