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

dragonball: introduce vfio support #8724

Merged
merged 2 commits into from Dec 27, 2023

Conversation

studychao
Copy link
Member

vfio mod collects lots of information related to the vfio operations, including VfioMsi and VfioMsix capability & state, vfio interrupt info, pci region infor and vfio pci device info & state.

fixes: #8722

@katacontainersbot katacontainersbot added the size/huge Largest and most complex task (probably needs breaking into small pieces) label Dec 25, 2023
src/dragonball/src/dbs_pci/src/lib.rs Show resolved Hide resolved
src/dragonball/src/dbs_pci/Cargo.toml Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
Copy link
Member

@justxuewei justxuewei left a comment

Choose a reason for hiding this comment

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

Thanks, a few comments.

src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
src/dragonball/src/dbs_pci/src/vfio.rs Outdated Show resolved Hide resolved
Copy link
Member

@justxuewei justxuewei left a comment

Choose a reason for hiding this comment

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

Lgtm, thanks @studychao!

Copy link
Contributor

@ZizhengBian ZizhengBian left a comment

Choose a reason for hiding this comment

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

LGTM

@studychao
Copy link
Member Author

/test

vfio mod collects lots of information related to the vfio operations, including VfioMsi and VfioMsix capability & state,
vfio interrupt info, pci region infor and vfio pci device info & state.

fixes: kata-containers#8722

Signed-off-by: Gerry Liu <gerry@linux.alibaba.com>
Signed-off-by: Zizheng Bian <zizheng.bian@linux.alibaba.com>
Signed-off-by: Shifang Feng <fengshifang@linux.alibaba.com>
Signed-off-by: Yang Su <yang.su@linux.alibaba.com>
Signed-off-by: Zha Bin <zhabin@linux.alibaba.com>
Signed-off-by: Xin Lin <jingshan@linux.alibaba.com>
Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
PciCapabilityID -> PciCapabilityId
PciBarRegionType::IORegion -> PciBarRegionType::IoRegion

Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
@studychao
Copy link
Member Author

/test

@studychao studychao merged commit 8895cb8 into kata-containers:main Dec 27, 2023
166 of 176 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test runtime-rs size/huge Largest and most complex task (probably needs breaking into small pieces)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dragonball: introduce vfio support
5 participants