mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-06 08:20:23 +00:00
fix max allowed vcpus error message
This commit is contained in:
parent
025e1d900b
commit
3030d2d35c
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user