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

Re: [Xen-devel] [PATCH 0/3] Add date and domid to guest's console output.



On Wed, Jan 28, 2009 at 01:33:12PM +0900, Yuji Shimada wrote:
> These patches add date and domid to guest's console output.
> 
>   [PATCH 1/3] Add "--timestamp" option to xenconsole.
>   [PATCH 2/3] Add "--console_timestamp" to xm create.
>   [PATCH 3/3] Modify stubdom-dm.
> 
> We can log guest's console output with date and domid when we create
> the guest like below.
> 
>  # xm create -c --console_timestamp GUEST > GUEST-console.log

This seems like a slightly odd place in the code to address the problem.

The xenconsoled daemon has the ability to save all guest data to a logfile
in /var/log/xen/console/guest-$NAME.log. So if you want to save logs and
timestamp them, it'd seem more natural to put timestamping capability in
the xenconsoled program.

Of course this only handles paravirt console. For fullvirt guests, if you
wanted to timestamp the serial console output, then something would need
to be done with QEMU - or perhaps get QEMU to feed the serial data to the
xenconsoled program for logging to disk ? 

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.