]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_process.c: adding maxCpus value to error message
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 14 Nov 2018 19:52:03 +0000 (17:52 -0200)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 15 Nov 2018 20:39:17 +0000 (15:39 -0500)
commit8aad8432f699d3a876e6651a1b1d63d57e4d9e33
treea170f552b7e29925bf825809441a75b1e6926f1c
parentbba16ff111aa24e4efb1074d45d212265ce7693e
qemu_process.c: adding maxCpus value to error message

Adding the maxCpus value in the error message of qemuValidateCpuCount
allows the user to set an acceptable maxCpus count without knowing
QEMU internals.

x86 guests, that might have been created prior to the x86
qemuDomainDefValidate maxCpus check code (that validates the maxCpus value
in editing time), will also benefit from this change.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_process.c