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

NAS-130967 / 25.04 / Provide cpu topology extensions to VM if requested (by Qubad786) #14396

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

bugclerk
Copy link
Contributor

@bugclerk bugclerk commented Sep 3, 2024

Problem:
Users with AMD CPUs who have SMT (Simultaneous Multithreading) enabled are currently unable to passthrough their CPUs with SMT cores to guest VMs. This is because, by default, SMT support is disabled in libvirtd and requires specific features to be enabled.

Solution:
Add a new field in the VMs configuration that allows users to enable SMT passthrough for their CPUs. When this field is enabled, the relevant features will be added to the CPU XML configuration, ensuring that SMT-enabled CPUs can be properly passed through to the guest if host passthrough is also enabled.

Original PR: #14392
Jira URL: https://ixsystems.atlassian.net/browse/NAS-130967

@Qubad786 Qubad786 merged commit b48b61d into master Sep 3, 2024
2 of 3 checks passed
@Qubad786 Qubad786 deleted the NAS-130967-25.04 branch September 3, 2024 11:59
@bugclerk
Copy link
Contributor Author

bugclerk commented Sep 3, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Sep 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants