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

Re: [libvirt] [PATCH] virsh: let 'connect' without args remember -c option



On Mon, Jun 11, 2012 at 05:06:37PM -0600, Eric Blake wrote:
> On 06/11/2012 09:33 AM, Eric Blake wrote:
> What about this proposal:
> 
> Add a new option --default to 'virsh connect'.  An explicit 'connect
> --default' (whether interactive or specified in batch mode on the
> command line) allows you to connect to the NULL URI (and thus we have a
> way to rely on libvirt.so's default connection rules without having to
> type in our desired default connection), no matter what your current
> connection state is.

Do we actually need that. We accept empty string as an alternative
to NULL, so can't you do    virsh connect "" ?

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 :|


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