Codebase list libvirt / debian/1.2.3-1 docs / bugs.html
debian/1.2.3-1

Tree @debian/1.2.3-1 (Download .tar.gz)

bugs.html @debian/1.2.3-1raw · history · blame

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
        This file is autogenerated from bugs.html.in
        Do not edit this file. Changes will be lost.
      -->
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="main.css" />
    <link rel="SHORTCUT ICON" href="32favicon.png" />
    <title>libvirt: Bug reporting</title>
    <meta name="description" content="libvirt, virtualization, virtualization API" />
  </head>
  <body>
    <div id="header">
      <div id="headerLogo"></div>
      <div id="headerSearch">
        <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
            <input id="query" name="query" type="text" size="12" value="" />
            <input id="submit" name="submit" type="submit" value="Search" />
          </div></form>
      </div>
    </div>
    <div id="body">
      <div id="menu">
        <ul class="l0"><li>
            <div>
              <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
            </div>
          </li><li>
            <div>
              <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
            </div>
          </li><li>
            <div>
              <a title="Applications known to use libvirt" class="inactive" href="apps.html">Applications</a>
            </div>
          </li><li>
            <div>
              <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
            </div>
          </li><li>
            <div>
              <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
            </div>
          </li><li>
            <div>
              <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
            </div>
          </li><li>
            <div>
              <a title="Frequently asked questions" class="inactive" href="http://wiki.libvirt.org/page/FAQ">FAQ</a>
            </div>
          </li><li>
            <div>
              <span class="active">Bug reports</span>
              <ul class="l1"><li>
                  <div>
                    <a title="Security bug reporting and resolution process" class="inactive" href="securityprocess.html">Security Process</a>
                  </div>
                </li><li>
                  <div>
                    <a title="Main feature request list" class="inactive" href="todo.html">Todo list</a>
                  </div>
                </li><li>
                  <div>
                    <a title="Pending patches awaiting reviews and integration" class="inactive" href="pending.html">Pending patches</a>
                  </div>
                </li></ul>
            </div>
          </li><li>
            <div>
              <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
            </div>
          </li><li>
            <div>
              <a title="Available test suites for libvirt" class="inactive" href="testsuites.html">Test suites</a>
            </div>
          </li><li>
            <div>
              <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
            </div>
          </li><li>
            <div>
              <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
            </div>
          </li></ul>
      </div>
      <div id="content">
        <h1>Bug reporting</h1>
        <ul><li>
            <a href="#security">Security Issues</a>
          </li><li>
            <a href="#bugzilla">Bug Tracking</a>
          </li><li>
            <a href="#general">General libvirt bug reports</a>
          </li><li>
            <a href="#distribution">Linux Distribution specific bug reports</a>
          </li><li>
            <a href="#quality">How to file high quality bug reports</a>
          </li></ul>
        <h2>
          <a name="security" shape="rect" id="security">Security Issues</a>
          <a class="headerlink" href="#security" title="Permalink to this headline"></a>
        </h2>
        <p>
      If you think that an issue with libvirt may have security
      implications, <strong>please do not</strong> publically
      report it in the bug tracker, mailing lists, or irc. Libvirt
      has <a href="securityprocess.html" shape="rect">a dedicated process for handling (potential) security issues</a>
      that should be used instead. So if your issue has security
      implications, ignore the rest of this page and follow the
      <a href="securityprocess.html" shape="rect">security process</a> instead.
    </p>
        <h2>
          <a name="bugzilla" shape="rect" id="bugzilla">Bug Tracking</a>
          <a class="headerlink" href="#bugzilla" title="Permalink to this headline"></a>
        </h2>
        <p>
      If you are using libvirt binaries from a Linux distribution
      check below for distribution specific bug reporting policies
      first.
    </p>
        <h2>
          <a name="general" shape="rect" id="general">General libvirt bug reports</a>
          <a class="headerlink" href="#general" title="Permalink to this headline"></a>
        </h2>
        <p>
      The <a href="http://bugzilla.redhat.com" shape="rect">Red Hat Bugzilla Server</a>
      should be used to report bugs and request features in libvirt.
      Before submitting a ticket, check the existing tickets to see if
      the bug/feature is already tracked.

      For general libvirt bug reports, from self-built releases, GIT snapshots
      and any other non-distribution supported builds, enter tickets under
      the <code>Virtualization Tools</code> product and the <code>libvirt</code>
      component.
    </p>
        <p>
      It's always a good idea to file bug reports, as the process of
      filing the report always makes it easier to describe the
      problem, and the bug number provides a quick way of referring to
      the problem.  However, not everybody in the community pays
      attention to bugzilla, so after you file a bug, asking questions
      and submitting patches on <a href="contact.html" shape="rect">the libvirt
      mailing lists</a> will increase your bug's visibility and
      encourage people to think about your problem.  Don't hesitate to
      ask questions on the list, as others may know of existing
      solutions or be interested in collaborating with you on finding
      a solution.  Patches are always appreciated, and it's likely
      that someone else has the same problem you do!
    </p>
        <p>
      If you decide to write code, though, before you begin please
      read the <a href="hacking.html" shape="rect">contributor guidelines</a>,
      especially the first point: "Discuss any large changes on the
      mailing list first. Post patches early and listen to feedback."
      Few development experiences are more discouraging than spending
      a bunch of time writing a patch only to have someone point out a
      better approach on list.
    </p>
        <ul><li><a href="http://bugzilla.redhat.com/buglist.cgi?component=libvirt&amp;product=Virtualization%20Tools" shape="rect">View libvirt tickets</a></li><li><a href="http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Virtualization%20Tools&amp;component=libvirt" shape="rect">New libvirt ticket</a></li></ul>
        <h2>
          <a name="distribution" shape="rect" id="distribution">Linux Distribution specific bug reports</a>
          <a class="headerlink" href="#distribution" title="Permalink to this headline"></a>
        </h2>
        <ul><li>
        If you are using binaries from <strong>Fedora</strong>, enter
        tickets against the <code>Fedora</code> product and
        the <code>libvirt</code> component.
        <ul><li><a href="http://bugzilla.redhat.com/buglist.cgi?component=libvirt&amp;product=Fedora" shape="rect">View Fedora libvirt tickets</a></li><li><a href="http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora&amp;component=libvirt" shape="rect">New Fedora libvirt ticket</a></li></ul>
      </li><li>
        <p>
          If you are using binaries from <strong>Red Hat Enterprise
          Linux</strong>, enter tickets against the Red Hat Enterprise
          Linux product that you're using (e.g., Red Hat Enterprise
          Linux 6) and the <code>libvirt</code> component.  Red Hat
          bugzilla has <a href="http://bugzilla.redhat.com" shape="rect">additional guidance</a> about getting support if
          you are a Red Hat customer.
        </p>
      </li><li>
        <p>
          If you are using binaries from another Linux distribution
          first follow their own bug reporting guidelines.
        </p>
      </li><li>
        <p>
          Finally, if you are a contributor to another Linux
          distribution and would like to have your procedure for
          filing bugs mentioned here, please mail the libvirt
          development list.
        </p>
      </li></ul>
        <h2>
          <a name="quality" shape="rect" id="quality">How to file high quality bug reports</a>
          <a class="headerlink" href="#quality" title="Permalink to this headline"></a>
        </h2>
        <p>
      To increase the likelihood of your bug report being addressed it is
      important to provide as much information as possible. When filing
      libvirt bugs use this checklist to see if you are providing enough
      information:
    </p>
        <ul><li>The version number of the libvirt build, or SHA1 of the GIT
        commit</li><li>The hardware architecture being used</li><li>The name of the hypervisor (Xen, QEMU, KVM)</li><li>The XML config of the guest domain if relevant</li><li>For Xen hypervisor, the XenD logfile from /var/log/xen</li><li>For QEMU/KVM, the domain logfile from /var/log/libvirt/qemu</li></ul>
        <p>
      If the bug leads to a tool linked to libvirt crash, then the best
      is to provide a backtrace along with the scenario used to get the
      crash, the simplest is to run the program under gdb, reproduce the
      steps leading to the crash and then issue a gdb "bt -a" command to
      get the stack trace, attach it to the bug. Note that for the
      data to be really useful libvirt debug information must be present
      for example by installing libvirt debuginfo package on Fedora or
      Red Hat Enterprise Linux (with debuginfo-install libvirt) prior
      to running gdb.</p>
        <p>
      It may also happen that the libvirt daemon itself crashes or gets stuck,
      in the first case run it (as root) under gdb, and reproduce the sequence
      leading to the crash, similarly to a normal program provide the
      "bt" backtrace information to where gdb will have stopped.<br />
      But if libvirtd gets stuck, for example seems to stop processing
      commands, try to attach to the faulty daemon and issue a gdb command
      "thread apply all bt" to show all the threads backtraces, as in:</p>
        <pre xml:space="preserve"> #  ps -o etime,pid `pgrep libvirt`
... note the process id from the output
# gdb /usr/sbin/libvirtd
.... some information about gdb and loading debug data
(gdb) attach $the_daemon_process_id
....
(gdb) thread apply all bt
.... information to attach to the bug
(gdb)
</pre>
      </div>
    </div>
    <div id="footer">
      <p id="sponsor">
	    Sponsored by:<br /><a href="http://et.redhat.com/"><img src="et.png" alt="Project sponsored by Red Hat Emerging Technology" /></a></p>
    </div>
  </body>
</html>