fix error message: allocate to much v-CPUs.

This commit is contained in:
Wolfgang Link 2015-09-14 08:44:27 +02:00 committed by Dietmar Maurer
parent 4723d26764
commit 6965d5d1f8

View 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";