[Libvir] Re: [PATCH 3/7] Add option to pass stdin fd to virExec

2007-08-13 Thread Jim Paris
Daniel P. Berrange wrote: > > > If nonzero, uses the supplied fd instead of /dev/null. > > > Update callers accordingly. > > > > Looks fine to me, we already have stdout and stderr, it's sensible. +1 > > Looks OK, but shouldn't we use -1 as the magic value here, since 0 is also > a valid file d

[Libvir] Re: [PATCH 3/7] Add option to pass stdin fd to virExec

2007-08-13 Thread Daniel Veillard
On Mon, Aug 13, 2007 at 12:55:01PM +0100, Daniel P. Berrange wrote: > On Mon, Aug 13, 2007 at 06:01:42AM -0400, Daniel Veillard wrote: > > On Sun, Aug 12, 2007 at 07:11:35PM -0400, Jim Paris wrote: > > > If nonzero, uses the supplied fd instead of /dev/null. > > > Update callers accordingly. > > >

[Libvir] Re: [PATCH 3/7] Add option to pass stdin fd to virExec

2007-08-13 Thread Daniel P. Berrange
On Mon, Aug 13, 2007 at 06:01:42AM -0400, Daniel Veillard wrote: > On Sun, Aug 12, 2007 at 07:11:35PM -0400, Jim Paris wrote: > > If nonzero, uses the supplied fd instead of /dev/null. > > Update callers accordingly. > > Looks fine to me, we already have stdout and stderr, it's sensible. +1 Loo

[Libvir] Re: [PATCH 3/7] Add option to pass stdin fd to virExec

2007-08-13 Thread Daniel Veillard
On Sun, Aug 12, 2007 at 07:11:35PM -0400, Jim Paris wrote: > If nonzero, uses the supplied fd instead of /dev/null. > Update callers accordingly. Looks fine to me, we already have stdout and stderr, it's sensible. +1 Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Dan