virsh console logging and pty usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it possible to both log the serial console and to actually use it?
A few of the VMs I've got are configured as follows:

    <serial type='file'>
      <source path='/var/log/libvirt/qemu/serial/bb-2.6.18-128.el5-x86_64.log'/>
      <target port='0'/>
    </serial>
    <console type='file'>
      <source path='/var/log/libvirt/qemu/serial/bb-2.6.18-128.el5-x86_64.log'/>
      <target type='serial' port='0'/>
    </console>

Because people are hoping to capture the logs after the fact to see if
there was any console output which could help them debug an issue.
However, if you need to connect to the console of the VM its
impossible (e.g. it needs the root password for a fsck).

Any suggestions to allow logging but allow it to be usable via "virsh
console" as well?

Thanks.
-- 
Doug Goldstein

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux