]> git.proxmox.com Git - qemu-server.git/commitdiff
fix max allowed vcpus error message
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 2 Mar 2015 05:45:57 +0000 (06:45 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 2 Mar 2015 05:45:57 +0000 (06:45 +0100)
PVE/QemuServer.pm

index 9847254b538764eaaf4d5171d04e5f71cd87bcb4..6ca95bca897802ffb44a9e90af6259f49911b446 100644 (file)
@@ -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";