]> git.proxmox.com Git - qemu-server.git/commitdiff
fix error message: allocate to much v-CPUs.
authorWolfgang Link <w.link@proxmox.com>
Mon, 14 Sep 2015 06:44:27 +0000 (08:44 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 14 Sep 2015 07:42:04 +0000 (09:42 +0200)
PVE/QemuServer.pm

index be4d3d96df33a9de8cc5d80dc6594337b0a09981..a6a89c09419224a6cde42c2a19d65f00ced64ac3 100644 (file)
@@ -2799,7 +2799,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";