Skip to content
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

Merged
merged 1 commit into from
Oct 24, 2017

Conversation

iccaszhulili
Copy link
Contributor

Add the function of getting the pci devices addresses
sharing the same iommuGroup.

Signed-off-by: Lily Zhu [email protected]

@@ -140,8 +140,27 @@ class for capability whose type is pci.
# <numa node='0'/>
#</capability>

# or the Example of iommu:
#<capability type="pci">
Copy link
Contributor

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.

Copy link
Contributor Author

@iccaszhulili iccaszhulili Oct 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chunfuwen Updated

accessors.XMLElementList('iommuGroup_number', self,
parent_xpath='/iommuGroup',
marshal_from=self.marshal_from_address,
marshal_to=self.marshal_to_address)
Copy link
Contributor

@kylazhang kylazhang Oct 19, 2017

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?

Copy link
Contributor Author

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]>
Copy link
Contributor

@chunfuwen chunfuwen left a 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

@kylazhang kylazhang merged commit 619d7cf into avocado-framework:master Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants