Re: [Qemu-devel] [PATCH V2] Add "tee" option to qemu char device

2011-08-05 Thread Anthony Liguori
On 08/04/2011 09:26 PM, Chun Yan Liu wrote: Alex& Anthony, About this issue, how should we proceed? Do the logging somewhere else in the Xen toolchain. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH V2] Add "tee" option to qemu char device

2011-08-04 Thread Chun Yan Liu
Alex & Anthony, About this issue, how should we proceed? Chunyan >>> Anthony Liguori 07/24/11 9:25 PM >>> On 07/24/2011 04:47 AM, Alexander Graf wrote: > >> These arguments all apply to any possible option. Why not a grep target? >> Why not a cut or less target? > > Because they don't make s

Re: [Qemu-devel] [PATCH V2] Add "tee" option to qemu char device

2011-07-24 Thread Anthony Liguori
On 07/24/2011 04:47 AM, Alexander Graf wrote: These arguments all apply to any possible option. Why not a grep target? Why not a cut or less target? Because they don't make sense. Neither does tee :-) As long as the tee target is reasonably isolated, I don't think it'd clutter the cha

Re: [Qemu-devel] [PATCH V2] Add "tee" option to qemu char device

2011-07-24 Thread Alexander Graf
On 23.07.2011, at 21:11, Anthony Liguori wrote: > On 07/23/2011 01:31 PM, Alexander Graf wrote: >> >> On 23.07.2011, at 17:23, Anthony Liguori wrote: >> >>> On 07/14/2011 03:58 AM, Chunyan Liu wrote: Add "tee" backend to char device. It could be used as follows: -serial tee:filepa

Re: [Qemu-devel] [PATCH V2] Add "tee" option to qemu char device

2011-07-24 Thread Alexander Graf
On 14.07.2011, at 10:58, Chunyan Liu wrote: > Add "tee" backend to char device. It could be used as follows: >-serial tee:filepath,pty >-chardev tee,tee_fpath=path,tee_backend=pty,,path=path,,[mux=on|off] > With "tee" option, "pty" output would be duplicated to filepath. > Related thread:

Re: [Qemu-devel] [PATCH V2] Add "tee" option to qemu char device

2011-07-23 Thread Anthony Liguori
On 07/23/2011 01:31 PM, Alexander Graf wrote: On 23.07.2011, at 17:23, Anthony Liguori wrote: On 07/14/2011 03:58 AM, Chunyan Liu wrote: Add "tee" backend to char device. It could be used as follows: -serial tee:filepath,pty -chardev tee,tee_fpath=path,tee_backend=pty,,path=path,,[m

Re: [Qemu-devel] [PATCH V2] Add "tee" option to qemu char device

2011-07-23 Thread Alexander Graf
On 23.07.2011, at 17:23, Anthony Liguori wrote: > On 07/14/2011 03:58 AM, Chunyan Liu wrote: >> Add "tee" backend to char device. It could be used as follows: >> -serial tee:filepath,pty >> -chardev tee,tee_fpath=path,tee_backend=pty,,path=path,,[mux=on|off] >> With "tee" option, "pty" ou

Re: [Qemu-devel] [PATCH V2] Add "tee" option to qemu char device

2011-07-23 Thread Anthony Liguori
On 07/14/2011 03:58 AM, Chunyan Liu wrote: Add "tee" backend to char device. It could be used as follows: -serial tee:filepath,pty -chardev tee,tee_fpath=path,tee_backend=pty,,path=path,,[mux=on|off] With "tee" option, "pty" output would be duplicated to filepath. Related thread: http:/

[Qemu-devel] [PATCH V2] Add "tee" option to qemu char device

2011-07-14 Thread Chunyan Liu
Add "tee" backend to char device. It could be used as follows: -serial tee:filepath,pty -chardev tee,tee_fpath=path,tee_backend=pty,,path=path,,[mux=on|off] With "tee" option, "pty" output would be duplicated to filepath. Related thread: http://lists.nongnu.org/archive/html/qemu-devel/2011-