Skip to content

Commit

Permalink
Windows Client operatings systems do not permit more than 2 sockets, …
Browse files Browse the repository at this point in the history
…so explicitly specify topology so we can have more than two cpus
  • Loading branch information
hartmans committed Nov 18, 2024
1 parent a171ea1 commit 3f4ceb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion carthage/resources/templates/vm-config.mako
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def is_vnc():
<memory unit='KiB'>${memory_mb*1024}</memory>

<vcpu placement='static' >${cpus}</vcpu>
<cpu mode='host-model'>
<cpu mode='host-model'>
<topology sockets='1' cores='${cpus}' threads='1' />
%if nested_virt:
<feature policy='require' name='vmx' />
%endif
Expand Down

0 comments on commit 3f4ceb3

Please sign in to comment.