Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vmm: Enforce threads_per_core to be at most two - #8078

Merged
liuw merged 1 commit into
cloud-hypervisor:mainfrom
liuw:smt-enforcement
Apr 22, 2026
Merged

liuw merged 1 commit into
cloud-hypervisor:mainfrom
liuw:smt-enforcement

Conversation

@liuw

@liuw liuw commented Apr 21, 2026

Copy link
Copy Markdown
Member

Microsoft Hypervisor's hyperclear technology supports at most two threads per core.

Practically all x64 CPUs nowadays only support two threads per core. Enforce this in the common code.

Assisted-by: OpenAI:ChatGPT-5.4

Test cases are written by LLM.

@liuw
liuw requested a review from a team as a code owner April 21, 2026 21:48
@liuw
liuw force-pushed the smt-enforcement branch from 942dd1b to 91607c1 Compare April 21, 2026 22:24
@likebreath
likebreath added this pull request to the merge queue Apr 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 21, 2026
Comment thread cloud-hypervisor/tests/integration.rs Outdated
Microsoft Hypervisor's hyperclear technology supports at most two
threads per core.

Practically all x64 CPUs nowadays only support two threads per core.
Enforce this in the common code.

Assisted-by: OpenAI:ChatGPT-5.4
[Test cases written by an LLM ]
Signed-off-by: Wei Liu <[email protected]>
@liuw
liuw force-pushed the smt-enforcement branch from 91607c1 to 4722491 Compare April 22, 2026 00:15
@liuw
liuw enabled auto-merge April 22, 2026 00:16
@liuw
liuw added this pull request to the merge queue Apr 22, 2026
Merged via the queue into cloud-hypervisor:main with commit d562531 Apr 22, 2026
37 of 38 checks passed
@liuw
liuw deleted the smt-enforcement branch April 22, 2026 16:03
@rbradford rbradford moved this to ✅ Done in Cloud Hypervisor Roadmap Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants