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

Device: Forbid CDI GPU hotplugging #14031

Merged

Conversation

gabrielmougard
Copy link
Contributor

CDI GPU are not hotpluggable because the configuration of a CDI GPU requires a LXC hook that is only run at instance start. A classic GPU device can be hotplugged.

CDI GPU are not hotpluggable because the configuration of a CDI GPU requires a LXC hook that
is only run at instance start. A classic GPU device can be hotplugged.

Signed-off-by: Gabriel Mougard <[email protected]>
@gabrielmougard gabrielmougard self-assigned this Sep 2, 2024
@tomponline tomponline merged commit 481ebca into canonical:main Sep 3, 2024
29 checks passed
@tomponline
Copy link
Member

A classic GPU device can be hotplugged.

Not strictly 100% true. As even classic GPUs have the same problem, in that if hotplugged, only the device itself and not the supporting libraries will be attached.

@tomponline tomponline changed the title lxd/device/gpu_physical: forbid CDI GPU hotplugging Device: Forbid CDI GPU hotplugging Sep 3, 2024
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.

2 participants