]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Improve error when trying to change vm's cpu count 0
authorPeter Krempa <pkrempa@redhat.com>
Thu, 21 Jun 2012 16:34:32 +0000 (18:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 22 Jun 2012 08:24:17 +0000 (10:24 +0200)
commitde924ca90a0ff1ad8adeab460761f65b7a742d72
treebb594963a5b972bbeec0006824565262fcec3420
parent0dda594da99aede7621018a3705e7cf4c13b1606
virsh: Improve error when trying to change vm's cpu count 0

This patch adds a check for the count of processors the user requests
for the guest machine so that invalid values produce a more helpful
error message.
tools/virsh.c