[libvirt] 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
Fri Oct 11 06:50:01 UTC 2019


+dev
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/libvir-list/attachments/20191011/3e355e3e/attachment-0001.htm>


More information about the libvir-list mailing list