RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 667091 - IB700 watchdog isn't PCI
Summary: IB700 watchdog isn't PCI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 637131
Blocks: 634607
TreeView+ depends on / blocked
 
Reported: 2011-01-04 11:58 UTC by Richard W.M. Jones
Modified: 2011-05-19 13:25 UTC (History)
7 users (show)

Fixed In Version: libvirt-0.8.7-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 637131
Environment:
Last Closed: 2011-05-19 13:25:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0596 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2011-05-18 17:56:36 UTC

Description Richard W.M. Jones 2011-01-04 11:58:25 UTC
+++ This bug was initially created as a clone of Bug #637131 +++

Description of problem:

When I add <watchdog model='ib700'/> to the XML of a domain, libvirtd
automatically expands it to the following:

  <watchdog model='ib700' action='reset'>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> 
  </watchdog>

However, IB700 isn't a PCI device, so this looks incorrect to me ...

Version-Release number of selected component (if applicable):

libvirt-0.8.3-2.fc14.x86_64

How reproducible:

Always.

Steps to Reproduce:
1. Edit a VM's XML and add <watchdog model='ib700'/>
2. Dump the XML.
  
Actual results:

PCI <address> element has been added.

Expected results:

Shouldn't be added for IB700.

Additional info:

Note that the other type of watchdog, i6300esb, *is* a PCI
device.  Don't change that one!

--- Additional comment from rjones on 2010-09-24 08:05:55 EDT ---

Actually it's worse than that.  This stops you from using
IB700 at all via libvirt.  You get:

qemu-kvm: -device ib700,id=watchdog0,bus=pci.0,addr=0x5: Device 'ib700' can't go on a PCI bus

I wonder if this is a RHEL 6.0 bug / blocker?

Comment 1 Richard W.M. Jones 2011-01-11 13:40:10 UTC
Patch posted upstream:

https://www.redhat.com/archives/libvir-list/2011-January/msg00389.html

Comment 2 Richard W.M. Jones 2011-01-11 16:37:14 UTC
Patch pushed upstream:

http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=feddaf1dc8c14590d957ad353fc9263a80d96236

Comment 5 wangyimiao 2011-01-18 08:04:53 UTC
Verified it PASSED on build :
libvirt-0.8.7-2.el6.x86_64
qemu-kvm-0.12.1.2-2.129.el6.x86_64
qemu-img-0.12.1.2-2.129.el6.x86_64
kernel-2.6.32-94.el6.x86_64.

Steps:
1.Add that XML in the domain config XML.
.............................
 <watchdog model='ib700'/>
.............................

2.Check the domain XML have not add the PCI <address> element for watchdog device with "model='ib700'".

# virsh dumpxml http_test
..........................
    <watchdog model='ib700' action='reset'/>
...........................

3.Add that XML in the domain config XML.
.............................
   <watchdog model='i6300esb' action='reset'/>
.............................

4.Check the domain XML have add the PCI <address> element for watchdog device with "model='i6300esb'".

# virsh dumpxml http_test
..........................
   <watchdog model='i6300esb' action='reset'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </watchdog>
...........................

Comment 9 errata-xmlrpc 2011-05-19 13:25:23 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0596.html


Note You need to log in before you can comment on or make changes to this bug.