[Pkg-libvirt-maintainers] Bug#507650: Bug#507650: virsh console just hangs, cannot connect

Guido Günther agx at sigxcpu.org
Fri Dec 5 09:09:10 UTC 2008


tags 507650 + moreinfo

On Wed, Dec 03, 2008 at 12:35:06PM +0100, martin f krafft wrote:
> Package: libvirt-bin
> Version: 0.5.0-1
> Severity: normal
> File: /usr/bin/virsh
> 
> I have a test domain with
> 
>     <serial type='pty'>
>       <target port='1'/>
>     </serial>
> 
> and kvm properly starts it with -monitor pty and -serial pty. When
> I run 'virsh console' on it, virsh just hangs and cannot be
> stopped/interrupted with any of ctrl-c/z/\. SIGTERM works. Strace is
> attached (search for "HANGS HERE").
You can't terminate this with "ctrl-alt-]"? Works here. Can you make
sure your system really *has* output on the serial console by looking
at the /dev/pts/X yourself? You can find out the pty by looking at
/var/log/libvirt/qemu/<yourvm>.log - it should be the last second pty
listed. The first one is the monitor pty.
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list