How to debug Libvirt problems

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(All bug reports)
Line 21: Line 21:
 
* The version number of the libvirt.
 
* The version number of the libvirt.
 
<pre>rpm -q libvirt</pre>
 
<pre>rpm -q libvirt</pre>
* The hardware architecture being used.
+
* The output from smolt for identifying which hardware architecture your using.
<pre>smoltSendProfile -a | grep show</pre>
+
<pre>smoltSendProfile -a | grep public</pre>
 
* The name of the hypervisor (Xen, QEMU, KVM) your using.  
 
* The name of the hypervisor (Xen, QEMU, KVM) your using.  
 +
 
* The XML config of the guest domain
 
* The XML config of the guest domain
 
* For Xen hypervisor, the XenD logfile from /var/log/xen
 
* For Xen hypervisor, the XenD logfile from /var/log/xen

Revision as of 21:46, 19 October 2009


This page describes how to debug <component>. For general information on how to file a bug, should you need to do so, please see Bugs and feature requests.

Checking the common bugs page or searching in bugzilla will save you time if your problem has already been reported.

Contents

Identifying your problem area

Something that ensures that the component in question is at fault not some other thing..

Information to include in your report

All bug reports

In all cases, the following should be mentioned and attached to your bug report:

  • The exact command-line used to start libvirt if other than.
service libvirtd start
  • The version number of the libvirt.
rpm -q libvirt
  • The output from smolt for identifying which hardware architecture your using.
smoltSendProfile -a | grep public
  • The name of the hypervisor (Xen, QEMU, KVM) your using.
  • The XML config of the guest domain
  • For Xen hypervisor, the XenD logfile from /var/log/xen
  • For QEMU/KVM, the domain logfile from /var/log/libvirt/qemu

<Component> related problems

Sample entry

As well as the information from the 'All bug reports' section, include the following information:

Debugging <component>

As root install <components> debug package.

# debuginfo-install <component>

How to GDB component

Note.png
Sample Note
Idea.png
Sample Tip
Warning (medium size).png
Sample Warning