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 / 24.10-RC.1 / Provide cpu topology extensions to VM if requested #14392

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

Qubad786
Copy link
Contributor

@Qubad786 Qubad786 commented Sep 2, 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.

@Qubad786 Qubad786 requested a review from a team September 2, 2024 19:10
@bugclerk bugclerk changed the title Provide cpu topology extensions to VM if requested NAS-130967 / 24.10-RC.1 / Provide cpu topology extensions to VM if requested Sep 2, 2024
@bugclerk
Copy link
Contributor

bugclerk commented Sep 2, 2024

@truenas truenas deleted a comment from bugclerk Sep 2, 2024
@yocalebo yocalebo merged commit d120d93 into stable/electriceel Sep 3, 2024
2 checks passed
@yocalebo yocalebo deleted the mrehan/smt-core branch September 3, 2024 11:52
@bugclerk
Copy link
Contributor

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.

3 participants