From: "Daniel P. Berrange" <berrange@redhat.com>
To: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
Cc: xen-devel@lists.xensource.com, Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: [PATCH 0/3] Add date and domid to guest's console output.
Date: Wed, 28 Jan 2009 11:04:48 +0000 [thread overview]
Message-ID: <20090128110448.GJ1213@redhat.com> (raw)
In-Reply-To: <20090128131435.107B.SHIMADA-YXB@necst.nec.co.jp>
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 :|
next prev parent reply other threads:[~2009-01-28 11:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-28 4:33 [PATCH 0/3] Add date and domid to guest's console output Yuji Shimada
2009-01-28 4:40 ` [PATCH 1/3] Add "--timestamp" option to xenconsole Yuji Shimada
2009-01-28 4:40 ` [PATCH 2/3] Add "--console_timestamp" to xm create Yuji Shimada
2009-01-28 4:41 ` [PATCH 3/3] Modify stubdom-dm Yuji Shimada
2009-01-28 11:04 ` Daniel P. Berrange [this message]
2009-01-29 8:00 ` [PATCH 0/3] Add date and domid to guest's console output Yuji Shimada
2009-02-04 8:16 ` Yuji Shimada
2009-02-05 16:04 ` Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090128110448.GJ1213@redhat.com \
--to=berrange@redhat.com \
--cc=keir.fraser@eu.citrix.com \
--cc=shimada-yxb@necst.nec.co.jp \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.