[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V3] Support logging xen-guest console
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH V3] Support logging xen-guest console |
Date: |
Thu, 30 Jun 2011 09:58:57 +0200 |
On 30.06.2011, at 09:08, Chunyan Liu wrote:
> Add code to support logging xen-domU console, as what xenconsoled does. To
> enable logging, set environment variable XENCONSOLED_TRACE=guest and
> XENCONSOLED_LOGDIR=<specified directory>, log file will be saved in <specified
> directory>.
In fact, this whole thing looks as if you're merely trying to reimplement "tee"
on the xenconsole output. Wouldn't it make more sense to do this in the char
layer? So we could do:
-xenconsole tee:stdio,file:/tmp/xen.log
or similar? That's probably a lot more useful than a random Xen specific hack.
Alex