[libvirt-users] [LIBVIRT] Xen issue.

Daniel P. Berrange berrange at redhat.com
Wed Jan 4 16:33:18 UTC 2012


On Wed, Jan 04, 2012 at 05:03:00PM +0100, Armand Leclercq wrote:
> Hi everybody,
> 
> I'ld to use virsh over ssh in order to connect to my xen hypervisor
> from one of my DomU.
> 
> I tried:
> virsh -c xen+ssh://root@192.168.0.67:22 list --all
> 
> And it correctly listed the started virtual computers.
> 
> And when I tried
> virsh connect xen+ssh://root@192.168.0.67:22

The 'connect' command is only intended to be used from an
interactive libvirt session. You want to use '-c' or
'--connect' in non-interactive mode like you have here,
and *not* the 'connect' command.

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




More information about the libvirt-users mailing list