From 6491742eb04d43d66a93483ea82d38cda19ad61a Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" <1446020+mnlipp@users.noreply.github.com> Date: Tue, 10 Oct 2023 12:57:13 +0200 Subject: [PATCH] Bugfix/cpu topology (#11) --- .../templates/Standard-VM-latest.ftl.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml b/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml index cc8b505..b21db8f 100644 --- a/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml +++ b/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml @@ -88,9 +88,9 @@ <#if vm.maximumCpus gt 1> - [ "-smp", "1,maxcpus=${ vm.maximumCpus }\ <#if vm.sockets gt 0>,sockets=${ vm.sockets }\ - <#if vm.diesPerSocket gt 0>,cores=${ vm.diesPerSocket }\ + <#if vm.diesPerSocket gt 0>,dies=${ vm.diesPerSocket }\ <#if vm.coresPerDie gt 0>,cores=${ vm.coresPerDie }\ - <#if vm.threadsPerCore gt 0>,cores=${ vm.threadsPerCore }" ] + <#if vm.threadsPerCore gt 0>,threads=${ vm.threadsPerCore }" ] <#if vm.accelerator != "none"> - [ "-accel", "${ vm.accelerator }" ]