O'Reilly logo

Linux in a Nutshell, 6th Edition by Robert Love, Stephen Figgins, Ellen Siever, Arnold Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connection URIs

To control a hypervisor, libvirt tools must first connect to it. You will use a URI to specify the location of the hypervisor. For KVM use a qemu:// URI and for Xen use xen://. For backwards compatibility virsh will also accept just plain xen, which it will treat as xen:///. If no connection option is given, virsh will try to connect to the URI given in the environment variable LIBVIRT_DEFAULT_URI. If none exists, it will probe the defaults in whatever hypervisor drivers it has available.

You can also make a connection to a remote server. For security reasons you will usually use SSH to do this by using an xen+ssh:// or qemu+ssh:// URI.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required