转-How to debug Virtualization problems
From: http://fedoraproject.org/wiki/How_to_debug_Virtualization_problems libvirt Any program using libvirt can be debugged using the LIBVIRT_DEBUG=1 environment variable e.g. $> LIBVIRT_DEBUG=1 virt-manager --no-fork $> LIBVIRT_DEBUG=1 virsh list --all If your issue looks like it might be related to libvirtd try looking in /var/log/messages for any error messages. You can also use /etc/libvirt/libvirtd.conf logging configuration to e.g. log debug spew to a file: log_level = 1 log_outputs = 0:file:/tmp/libvirtd.log Alternatively, you could try running libvirtd from the command line with