From 3030d2d35c2ec9e2068d9f2d35714f5cf2aeab1c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 2 Mar 2015 06:45:57 +0100 Subject: [PATCH] fix max allowed vcpus error message --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 9847254b..6ca95bca 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2817,7 +2817,7 @@ sub config_to_command { my $allowed_vcpus = $cpuinfo->{cpus}; - die "MAX $maxcpus vcpus allowed per VM on this node\n" + die "MAX $allowed_vcpus vcpus allowed per VM on this node\n" if ($allowed_vcpus < $maxcpus); push @$cmd, '-smp', "$vcpus,sockets=$sockets,cores=$cores,maxcpus=$maxcpus";