X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=virt-top%2Fvirt-top.pod;h=63aa30a6473157d37f9646c3831a138011ce0c53;hp=d479b63017ee54d8afd1a6d33df905f71aa29ca7;hb=c399be984bc85e2b60573b9d49dfce68439d4d35;hpb=5fa5553c047155cf99fca9940cecdbc64c93acaf diff --git a/virt-top/virt-top.pod b/virt-top/virt-top.pod index d479b63..63aa30a 100755 --- a/virt-top/virt-top.pod +++ b/virt-top/virt-top.pod @@ -43,16 +43,21 @@ Batch mode. In this mode keypresses are ignored. =item B<-c uri> or B<--connect uri> -Connect to URI given. The default is to connect to the Xen -hypervisor. +Connect to the libvirt URI given. To connect to QEMU/KVM you would normally do I<-c qemu:///system> +To connect to Xen on the same host, do I<-c xen:///> + To connect to libvirtd on a remote machine you would normally do -I<-c xen://host/> +I<-c qemu://host/system> + +If this option is not given then virt-top connects by default +to whatever is the default hypervisor for libvirt, although +this can be overridden by setting environment variables. -Full details on connection URIs is available at -L +See the libvirt documentation at L +for further information. =item B<-d delay> @@ -419,6 +424,20 @@ will probably see a steady "background noise" of RX packets even when the network interface is idle or down. These are caused by STP packets generated by the bridge. +=head2 DEBUGGING LIBVIRT ISSUES + +virt-top tries to turn libvirt errors into informative messages. +However if libvirt initialization fails then this is not possible. +Instead you will get an obscure error like: + + libvir: error : Unknown failure + Fatal error: exception Libvirt.Virterror(...) + +To see the cause of libvirt errors in more detail, enable libvirt +debugging by setting this environment variable: + + export LIBVIRT_DEBUG=1 + =head1 SEE ALSO L,