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

Peter Krempa pkrempa at redhat.com
Thu Feb 6 10:31:59 UTC 2014


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


-------------- 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/20140206/7d70b281/attachment-0001.sig>


More information about the libvir-list mailing list