Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionRichard 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 1Richard W.M. Jones
2011-01-11 13:40:10 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>
...........................
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