[libvirt] [PATCH] qemu: Improve error when setting invalid count of vcpus via agent
Eric Blake
eblake at redhat.com
Thu Dec 5 19:25:44 UTC 2013
On 12/05/2013 09:50 AM, Peter Krempa wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1035108
>
> When attempting to enable more vCPUs in the guest than is currently
> enabled in the guest but less than the maximum count for the VM we
> currently reported an unhelpful message:
>
> error: internal error: guest agent reports less cpu than requested
>
> This patch changes it to:
>
> error: invalid argument: requested vcpu count is greater than the count
> of enabled vcpus in the domain: 3 > 2
> ---
> src/qemu/qemu_driver.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
ACK
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131205/e9edd2c6/attachment-0001.sig>
More information about the libvir-list
mailing list