[libvirt-users] virsh console logging and pty usage

Doug Goldstein cardoe at gentoo.org
Wed May 9 16:39:10 UTC 2012

On Tue, May 8, 2012 at 9:43 PM, Alex Jia <ajia at redhat.com> wrote:
> Hi Doug,
> Replace your console type from 'file' to 'pty' it looks like this:
> <serial type='pty'>
>  <target port='0'/>
> </serial>
> <console type='pty'>
>  <target port='0'/>
> </console>
> And then append the parameter "console=ttyS0,115200" to guest kernel
> cmdline and reboot your guest, to use virsh console to connect your
> guest again.
> For details, please refer to the following link:
> http://libvirt.org/formatdomain.html#elementsConsole
> Good Luck!
> Alex


I was actually looking to use the logging functionality that I had
configured, while still having a tty available to connect through via
virsh console. Basically does libvirt have the ability to multiplex
the output from qemu's serial port in any way?

Doug Goldstein

More information about the libvirt-users mailing list