-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of getting the iommu pci devices address #1151
Conversation
virttest/libvirt_xml/nodedev_xml.py
Outdated
@@ -140,8 +140,27 @@ class for capability whose type is pci. | |||
# <numa node='0'/> | |||
#</capability> | |||
|
|||
# or the Example of iommu: | |||
#<capability type="pci"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
follow the comment format(leave one white space between # and following words):# xx ,and the following have similar issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chunfuwen Updated
02c3291
to
a78dcac
Compare
virttest/libvirt_xml/nodedev_xml.py
Outdated
accessors.XMLElementList('iommuGroup_number', self, | ||
parent_xpath='/iommuGroup', | ||
marshal_from=self.marshal_from_address, | ||
marshal_to=self.marshal_to_address) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The iommuGroup_number should be an attribute? And here should be the 'iommuGroup_addresses' ? So I think you need to add both of them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kylazhang Updated, please have a check
Add the function of getting the pci devices addresses sharing the same iommuGroup. Signed-off-by: Lily Zhu <[email protected]>
a78dcac
to
ae940bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sound good to me
Add the function of getting the pci devices addresses
sharing the same iommuGroup.
Signed-off-by: Lily Zhu [email protected]