[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 2/2] qemu: blockjob: Print correct file name in error message



On 02/05/14 19:41, Eric Blake wrote:
> On 02/05/2014 10:44 AM, Peter Krempa wrote:
>> When attempting a blockcommit from the top layer, the base argument
>> passed is NULL. This will be dereferenced when attempting a commit with
>> an empty image chain. Output the real volume path instead:
>>
>> virsh blockcommit --verbose --path vda --domain DOMNAME --wait
>> error: invalid argument: top '/path/somefile' in chain for 'vda' has no backing file
>>
>> instead of:
>>
>> error: invalid argument: top '(null)' in chain for 'vda' has no backing file
>> ---
>>  src/qemu/qemu_driver.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> ACK
> 

Series is now pushed. Thanks.

Peter


Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]