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

incusd/instance/qemu: Cap hotplug CPU slots to 64 #516

Merged
merged 4 commits into from
Feb 22, 2024
Merged

Conversation

stgraber
Copy link
Member

QEMU doesn't like dealing with more than 240 hotplug CPU slots and some OS struggle with more than 64, so put a cap to the max exposed CPUs to 64 unless the user has purposefully exposed more.

Sponsored-by: ActivePort (https://www.activeport.com.au)

QEMU doesn't like dealing with more than 240 hotplug CPU slots and some
OS struggle with more than 64, so put a cap to the max exposed CPUs to
64 unless the user has purposefully exposed more.

Signed-off-by: Stéphane Graber <[email protected]>
Sponsored-by: ActivePort (https://www.activeport.com.au)
Signed-off-by: Stéphane Graber <[email protected]>
This generally improves the error handling around finding processes and
works around a Go change in tip.

Signed-off-by: Stéphane Graber <[email protected]>
This generally improves the error handling around finding processes and
works around a Go change in tip.

Signed-off-by: Stéphane Graber <[email protected]>
@stgraber
Copy link
Member Author

Adding a couple of extra changes in this one to fix some test failures.

@brauner brauner merged commit 66e4e7e into lxc:main Feb 22, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants