maxcpus is computed now from sockets * cores. qemu team have done change in code, because for example it was possible to do sockets=1, cores=2, maxcpus=4.
which is wrong. sockets and cores define the cpu topology. vcpus defined the number of enabled cores previously, proxmox was doing if($maxcpus){ push @$cmd, '-smp', "cpus=$cores,maxcpus=$maxcpus"; with socket always =1 Now, It's push @$cmd, '-smp', "$vcpus,sockets=$sockets,cores=$cores,maxcpus=$maxcpus"; with $maxcpus = $cores*sockets To translate if you had cores:4 maxcpus:8 if should be translate with: cores:8 vcpus:4 ----- Mail original ----- De: "Stefan Priebe" <s.pri...@profihost.ag> À: "aderumier" <aderum...@odiso.com> Cc: "pve-devel" <pve-devel@pve.proxmox.com> Envoyé: Jeudi 2 Juillet 2015 15:27:26 Objet: Re: [pve-devel] unknown setting 'maxcpus' Am 02.07.2015 um 14:32 schrieb Alexandre DERUMIER: > yes. > > cpu hotplug as changed. > > > Now, the maxcpus = cores * sockets > > and "vcpus:" > > define the hotplugged vcpus number So i need to sed maxcpus: to vcpus: ? Do i need todo this only for the current running machine or also for old snapshots. Stefan > > > > ----- Mail original ----- > De: "Stefan Priebe" <s.pri...@profihost.ag> > À: "pve-devel" <pve-devel@pve.proxmox.com> > Envoyé: Jeudi 2 Juillet 2015 14:03:49 > Objet: [pve-devel] unknown setting 'maxcpus' > > Hi, > > i've today upgrade to latest stable-3 git. > > At nearly all commands i get this error: > vm 203 - unable to parse value of 'maxcpus' - unknown setting 'maxcpus' > vm 204 - unable to parse value of 'maxcpus' - unknown setting 'maxcpus' > vm 202 - unable to parse value of 'maxcpus' - unknown setting 'maxcpus' > vm 107 - unable to parse value of 'maxcpus' - unknown setting 'maxcpus' > vm 200 - unable to parse value of 'maxcpus' - unknown setting 'maxcpus' > vm 201 - unable to parse value of 'maxcpus' - unknown setting 'maxcpus' > vm 106 - unable to parse value of 'maxcpus' - unknown setting 'maxcpus' > vm 105 - unable to parse value of 'maxcpus' - unknown setting 'maxcpus' > vm 113 - unable to parse value of 'maxcpus' - unknown setting 'maxcpus' > > Do i need to remove this line manually in each config? > > Stefan > _______________________________________________ > pve-devel mailing list > pve-devel@pve.proxmox.com > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel