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

runtime-rs: bugfix for GPU passthrough failed with InvalidOperation. #9130

Merged

Conversation

Apokleos
Copy link
Contributor

@Apokleos Apokleos commented Feb 22, 2024

runtime-rs: bugfix for GPU passthrough failed with InvalidOperation.

We need initailize the pci_hotplug_enabled with true before we do GPU
passthrough with runtime-rs/dragonball. Otherwise it fails with error
`InvalidOperation`.

Fixes: #9129

Signed-off-by: Alex Lyn alex.lyn@antgroup.com

@katacontainersbot katacontainersbot added the size/tiny Smallest and simplest task label Feb 22, 2024
We need initailize the pci_hotplug_enabled with true before we do GPU
passthrough with runtime-rs/dragonball. Otherwise it fails with error
`InvalidOperation`.

Fixes: kata-containers#9129

Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
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!

@Apokleos Apokleos self-assigned this Feb 22, 2024
@justxuewei
Copy link
Member

/test

@Apokleos Apokleos merged commit 5d3ae36 into kata-containers:main Feb 22, 2024
325 of 339 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/tiny Smallest and simplest task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

runtime-rs: (Drgaonball) GPU passthrough failed with error InvalidOperation
4 participants