diff --git a/virttest/libvirt_xml/nodedev_xml.py b/virttest/libvirt_xml/nodedev_xml.py
index 20a5dc715f4..322ed9eb047 100644
--- a/virttest/libvirt_xml/nodedev_xml.py
+++ b/virttest/libvirt_xml/nodedev_xml.py
@@ -126,22 +126,41 @@ class for capability whose type is pci.
"""
# Example:
- #
- # 0
- # 7
- # 0
- # 0
- # I350 Gigabit Network Connection
- # Intel Corporation
- #
- #
- #
- #
- #
- #
+ #
+ # 0
+ # 7
+ # 0
+ # 0
+ # I350 Gigabit Network Connection
+ # Intel Corporation
+ #
+ #
+ #
+ #
+ #
+ #
+
+ # or the Example of iommu:
+ #
+ # 0
+ # 4
+ # 0
+ # 1
+ # NetXtreme II BCM5709 Gigabit Ethernet
+ # Broadcom Limited
+ #
+ #
+ #
+ #
+ #
+ #
+ #
+ #
+ #
+ #
__slots__ = ('domain', 'bus', 'slot', 'function', 'product_id',
- 'vendor_id', 'virt_functions', 'numa_node')
+ 'vendor_id', 'virt_functions', 'iommuGroup_number', 'numa_node')
def __init__(self, virsh_instance=base.virsh):
accessors.XMLElementInt('domain', self, parent_xpath='/',
@@ -162,6 +181,10 @@ def __init__(self, virsh_instance=base.virsh):
parent_xpath='/capability',
marshal_from=self.marshal_from_address,
marshal_to=self.marshal_to_address)
+ accessors.XMLElementList('iommuGroup_number', self,
+ parent_xpath='/iommuGroup',
+ marshal_from=self.marshal_from_address,
+ marshal_to=self.marshal_to_address)
super(PCIXML, self).__init__(virsh_instance=virsh_instance)
self.xml = (' ')