How to debug Libvirt problems

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with '<!--{{header|<component>}}--> 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 featur...')
 
(All bug reports)
Line 14: Line 14:
  
 
=== All bug reports ===
 
=== All bug reports ===
 
Sample entry
 
  
 
In all cases, the following should be mentioned and attached to your bug report:  
 
In all cases, the following should be mentioned and attached to your bug report:  
  
* The exact command-line used.
+
* The exact command-line used to start libvirt if other than..  
* A copy of the components log file {{filename|/path/to/<components_log_file>}}
+
<pre>service libvirtd start</pre>
 +
* The version number of the libvirt
 +
<pre>rpm -q libvirt</pre>
 +
* The hardware architecture being used
 +
* The name of the hypervisor (Xen, QEMU, KVM)
 +
* 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 ===
 
=== <Component> related problems ===

Revision as of 21:30, 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 hardware architecture being used
  • The name of the hypervisor (Xen, QEMU, KVM)
  • 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