Displaying 13 results from an estimated 13 matches for "elementsconsol".
Did you mean:
elementsconsole
2018 Nov 29
2
Re: console type tcp with logging
...(and expose this data to xtermjs via websocket) with getty tty. And
> > also i want to have log of tty1 (do log grub, kernel booting and
> > errors).
> > What i need to do in libvirt xml for such case?
>
> XML is described here
>
> https://libvirt.org/formatdomain.html#elementsConsole
>
> In particular regardless of what backend type you use for the
> seral port, you can add logging using
>
> <log file="/var/log/libvirt/qemu/guestname-serial0.log" append="off"/>
>
>
>
Thanks! Does it possible to read this log via libvirt api?...
2019 Oct 10
2
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)
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...
2015 Jul 09
2
adding devices and chardev in .xml configuration file ...
Hi,
As I want to start qemu by adding following parameters :
-device virtio-serial
-chardev socket,path=/tmp/foo,server,nowait,id=test
-device virtserialport,chardev=test,name=port.0
Is it possible to add them in the .xml configuration file of the guest , so they will be automatically added when the guest is started ?
If yes , any doc describing the syntax ?
Thx.
Regards,
J.P. Ribeauville
2018 Nov 29
2
console type tcp with logging
Hi! I want to have ability to connect to guest console via libvirt api
(and expose this data to xtermjs via websocket) with getty tty. And
also i want to have log of tty1 (do log grub, kernel booting and
errors).
What i need to do in libvirt xml for such case?
--
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru
2018 Dec 01
2
Re: console type tcp with logging
...t; > > > also i want to have log of tty1 (do log grub, kernel booting and
> > > > errors).
> > > > What i need to do in libvirt xml for such case?
> > >
> > > XML is described here
> > >
> > > https://libvirt.org/formatdomain.html#elementsConsole
> > >
> > > In particular regardless of what backend type you use for the
> > > seral port, you can add logging using
> > >
> > > <log file="/var/log/libvirt/qemu/guestname-serial0.log" append="off"/>
> > >
> >...
2011 Sep 26
1
virsh edit problems
...hing as changing
the port number, or removing the console, or adding a second
serial... all gone.
Oh, wait, that's not quite true; adding a second serial *does* work.
But nothing else I've tried does.
What I'm actually trying to do is copy the docs
http://libvirt.org/formatdomain.html#elementsConsole more closely
and specify my own source paths; I'm worried that the serial and the
console are somehow ending up in the same place and maybe that's
causing my problem?
What I've been trying to do is something like:
<serial type='pty'>
<source path='/dev/...
2015 Jul 09
0
Re: adding devices and chardev in .xml configuration file ...
...x'>
<source type='bind' path='/tmp/foo'/>
<target type='virtio' port='0'/>
</channel>
If you do, then it's possible too, but unsupported.
>If yes , any doc describing the syntax ?
>
https://libvirt.org/formatdomain.html#elementsConsole
Martin
2015 Aug 25
1
from command line to xml file
Hi,
In order to use a virtio-serial to exchange data between host and its guests, I'd like to modify the .xml Guest conf file by adding these parameters ( as found in the command line) :
-device virtio-serial \
-chardev socket,path=/tmp/foo,server,nowait,id=foo \
-device virtserialport,chardev=foo,name=org.fedoraproject.port.0
How should I build the XML tags ?
Thx for help.
J.P.
2018 Nov 29
0
Re: console type tcp with logging
...est console via libvirt api
> (and expose this data to xtermjs via websocket) with getty tty. And
> also i want to have log of tty1 (do log grub, kernel booting and
> errors).
> What i need to do in libvirt xml for such case?
XML is described here
https://libvirt.org/formatdomain.html#elementsConsole
In particular regardless of what backend type you use for the
seral port, you can add logging using
<log file="/var/log/libvirt/qemu/guestname-serial0.log" append="off"/>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrang...
2018 Nov 30
0
Re: console type tcp with logging
...a websocket) with getty tty. And
> > > also i want to have log of tty1 (do log grub, kernel booting and
> > > errors).
> > > What i need to do in libvirt xml for such case?
> >
> > XML is described here
> >
> > https://libvirt.org/formatdomain.html#elementsConsole
> >
> > In particular regardless of what backend type you use for the
> > seral port, you can add logging using
> >
> > <log file="/var/log/libvirt/qemu/guestname-serial0.log" append="off"/>
> >
> >
> >
>
> Thanks!...
2018 Dec 03
0
Re: console type tcp with logging
...to have log of tty1 (do log grub, kernel booting and
> > > > > errors).
> > > > > What i need to do in libvirt xml for such case?
> > > >
> > > > XML is described here
> > > >
> > > > https://libvirt.org/formatdomain.html#elementsConsole
> > > >
> > > > In particular regardless of what backend type you use for the
> > > > seral port, you can add logging using
> > > >
> > > > <log file="/var/log/libvirt/qemu/guestname-serial0.log" append="off"/>...
2019 Oct 11
0
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)
+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...
2012 May 08
1
virsh console logging and pty usage
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