Re: [PATCH 9/9] Add 'lxc-enter-namespace' command to virsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 14, 2013 at 05:42:18PM -0700, Eric Blake wrote:
> On 12/21/2012 10:08 AM, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> > 
> > Add a 'lxc-enter-namespace' command which accepts a domain name
> > and then a command + args to run, attached to the container
> > 
> > eg
> > 
> >   virsh -c lxc:/// lxc-enter-namespace demo -- /bin/ps -auxf
> > 
> 
> > +static const vshCmdOptDef opts_lxc_enter_namespace[] = {
> > +    {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
> > +    {"timeout", VSH_OT_INT, VSH_OFLAG_REQ_OPT, N_("timeout seconds. must be positive.")},
> > +    {"async", VSH_OT_BOOL, 0, N_("execute namespace without waiting for timeout")},
> > +    {"block", VSH_OT_BOOL, 0, N_("execute namespace without timeout")},
> 
> Oh, and I don't see timeout, async, or block actually used in the
> implementation; did you mean to wire them up?  Waiting for v2.

-ETOOMUCHCOPYANDPASTE

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]