[libvirt] [PATCH] qemu: Improve error when setting invalid count of vcpus via agent

Peter Krempa pkrempa at redhat.com
Fri Dec 6 10:13:49 UTC 2013


On 12/05/13 20:25, Eric Blake wrote:
> 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
> 

Pushed; Thanks.

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131206/ff7fb7b5/attachment-0001.sig>


More information about the libvir-list mailing list