kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.12k stars 364 forks source link

Unable to update CPU and Max vCPUs when topology is set #1072

Closed alinefm closed 8 years ago

alinefm commented 8 years ago

Seeing error "KCHCPUINF0005E: When CPU topology is defined, vCPUs must be a multiple of a product of cores and threads."

Though the guest is having the correct number of vCPUs matching the above equation.

sockets cores threads = vCPUs 10 6 4 = 240

Guest contains the following:

240
<topology sockets='10' cores='6' threads='4'/>

Re-production steps:

When the guest is offline. Choose Actions -> Edit -> Change the 'max memory' value and click on 'Save'.