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

2014-02-06 Thread Peter Krempa
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

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

2014-02-05 Thread Peter Krempa
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

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

2014-02-05 Thread Eric Blake
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