Bugfix/cpu topology (#10)
Some checks failed
Java CI with Gradle / build (push) Has been cancelled

This commit is contained in:
Michael N. Lipp 2023-10-09 22:13:33 +02:00 committed by GitHub
parent d42900afe7
commit 7be1c407fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 12 deletions

View file

@ -43,7 +43,7 @@ task tagLatestArchImage(type: Exec) {
dependsOn buildArchImage
commandLine 'podman', 'tag', "${project.name}-arch:${project.version}",\
"${project.name}:latest"
"${project.name}-arch:latest"
}
task buildLatestArchImage {

View file

@ -106,7 +106,7 @@ public class Configuration implements Dto {
public int currentCpus = 1;
/** The cpu sockets. */
public int cpuSockets;
public int sockets;
/** The dies per socket. */
public int diesPerSocket;

View file

@ -87,7 +87,7 @@
- [ "-cpu", "${ vm.cpuModel }" ]
<#if vm.maximumCpus gt 1>
- [ "-smp", "1,maxcpus=${ vm.maximumCpus }\
<#if vm.cpuSockets gt 0>,sockets=${ vm.cpuSockets }</#if>\
<#if vm.sockets gt 0>,sockets=${ vm.sockets }</#if>\
<#if vm.diesPerSocket gt 0>,cores=${ vm.diesPerSocket }</#if>\
<#if vm.coresPerDie gt 0>,cores=${ vm.coresPerDie }</#if>\
<#if vm.threadsPerCore gt 0>,cores=${ vm.threadsPerCore }</#if>" ]