[libvirt-users] Fwd: Libvirt-QEMU : Multiplex the output from qemu's serial port to a pty as well as a file (basically redirect console to file as well as pty device)

gokul cg gokuljnpr at gmail.com
Thu Oct 10 15:03:57 UTC 2019


Hi Folks ,

As per https://libvirt.org/formatdomain.html#elementsConsole
Regardless of the type, character devices can have an optional log file
associated with them.
Whether the lgging functionality is same as mapping device to file ?
Whether libvirt xml syntax below both 1 and 2 are same ?

    1)
    <serial type='pty'>
      <log
file='/var/lib/nova/instances/7151c8b7-1ea5-4701-bb79-b482d9e253b8/console.log'
append='off'/>
      <target port='0'/>
    </serial>

    2)
    <serial type='pty'>
      <source path='/tmp/serial.log'/>
      <target port='0'/>
    </serial>

    is it possible to multiplex the output from qemu's serial port  to a
pty as well as a file (basically redirect console to file as well as pty
device)?

Regards
Gokul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20191010/9905f6cf/attachment.htm>


More information about the libvirt-users mailing list