[libvirt] [PATCH] Bugfix: Check stdoutWatch before removing the handler.

Philipp Hahn hahn at univention.de
Thu Aug 11 14:06:59 UTC 2011


Hello,

On Thursday 11 August 2011 08:35:25 Philipp Hahn wrote:
> While testing it I noticed the following behaviour:
> 1. Start virsh
> 2. Do "qemu-monitor-command $SOME_VM info\ chardev" to get the path of the
> pty used for the console → /dev/pts/Y
> 3. Execute "console $SOME_VM" from within the same virsh X≥2 times;
> terminate each console with ^].
> 4. Run `lsof /dev/pts/Y' or 'lsof -p `pidof libvirtd`, which shows the pty
> to be opened X times.
> 5. Exit virsh and re-run the lsof-command: The pty is still opened.
> 6. Start virsh again: "0.8.4+the patch" hangs here and is not killable by
> SIGTERM, only SIGKILL; backtrace is attached. With 0.9.4 this seems to be
> fixed and is working, but:

That was fixed with 88416593e19d56433662b801d6e72ba182024fd9 for 0.9.0.

> 7. Executing another "console $SOME_VM" delays for some amount of time and
> than opens the console.

This one still puzzels me and I'd like to know if this is normal.

> 8. Rerunning "lsof" again now shows only the pty to be opened once. Good.

Sincerely
Philipp Hahn
-- 
Philipp Hahn           Open Source Software Engineer      hahn at univention.de
Univention GmbH        Linux for Your Business        fon: +49 421 22 232- 0
Mary-Somerville-Str.1  D-28359 Bremen                 fax: +49 421 22 232-99
                                                   http://www.univention.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110811/19d659d9/attachment-0001.sig>


More information about the libvir-list mailing list