Re: [Qemu-devel] [PATCH] Support logging xen-guest console

2011-06-23 Thread Ian Campbell
On Mon, 2011-06-20 at 19:42 +0100, Stefano Stabellini wrote: > > @@ -198,6 +248,10 @@ static int con_init(struct XenDevice *xendev) > > else > > con->chr = serial_hds[con->xendev.dev]; > > > > +logenv = getenv("XENCONSOLED_TRACE"); > > +if (logenv != NULL && !strcmp(logenv,

Re: [Qemu-devel] [PATCH] Support logging xen-guest console

2011-06-23 Thread Stefano Stabellini
On Thu, 23 Jun 2011, Ian Campbell wrote: > On Mon, 2011-06-20 at 19:42 +0100, Stefano Stabellini wrote: > > > @@ -198,6 +248,10 @@ static int con_init(struct XenDevice *xendev) > > > else > > > con->chr = serial_hds[con->xendev.dev]; > > > > > > +logenv = getenv("XENCONSOLED_TRA

Re: [Qemu-devel] [PATCH] Support logging xen-guest console

2011-06-20 Thread Stefano Stabellini
On Mon, 20 Jun 2011, Chunyan Liu wrote: > Add code to support logging xen-domU console, as what xenconsoled does. Log > info > will be saved in /var/log/xen/console/guest-domUname.log. > > Signed-off-by: Chunyan Liu > --- > hw/xen_console.c | 63 >

[Qemu-devel] [PATCH] Support logging xen-guest console

2011-06-20 Thread Chunyan Liu
Add code to support logging xen-domU console, as what xenconsoled does. Log info will be saved in /var/log/xen/console/guest-domUname.log. Signed-off-by: Chunyan Liu --- hw/xen_console.c | 63 ++ 1 files changed, 63 insertions(+), 0 deletions

[Qemu-devel] [PATCH] Support logging xen-guest console

2011-06-20 Thread Chunyan Liu
Add code to support logging xen-domU console, as what xenconsoled does. Log info will be saved in /var/log/xen/console/guest-domUname.log. Signed-off-by: Chunyan Liu --- hw/xen_console.c | 63 ++ 1 files changed, 63 insertions(+), 0 deletions