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

Make vcpu a block property #1141

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Make vcpu a block property #1141

wants to merge 4 commits into from

Conversation

phkrl
Copy link

@phkrl phkrl commented Dec 27, 2024

This pull requests is intended to close #1140
libvirt_domain vcpu field is made into block, where count is old vcpu count and placement and cpusets are also configured. As a result, specifying the latter fields allow to run libvirt domains on aarch64 SoCs with different cores via this provider. Further testing is required, however, to check other platforms still work as intended.
Note: i cannot confirm that acceptance tests are working. On aarch64 they also fail for me in current main branch.
I'll update documentation to this PR once the schema and functionality are confirmed and approved by maintainers.

supported attributes:
 count for vpus count (replaces vcpus format used previously)
 placement - auto or static
 spuset - allows binding to specific cores on host
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.

Enabling vcpu cpuset parameter for heterogeneous cpus
1 participant