mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-04 18:29:16 +00:00
fix error message: allocate to much v-CPUs.
This commit is contained in:
parent
4723d26764
commit
6965d5d1f8
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user