Re: [Qemu-devel] [RFC 3/7] block: bdrv_img_create(): move param printing to qemu-img

2012-10-15 Thread Luiz Capitulino
On Fri, 12 Oct 2012 10:29:37 +0200 Paolo Bonzini wrote: > Il 11/10/2012 23:27, Luiz Capitulino ha scritto: > > bdrv_img_create() is being used by the transaction QMP command and > > therefore shouldn't print directly to the user. > > > > Move the param printing to qemu-img instead. Has the side

Re: [Qemu-devel] [RFC 3/7] block: bdrv_img_create(): move param printing to qemu-img

2012-10-12 Thread Paolo Bonzini
Il 11/10/2012 23:27, Luiz Capitulino ha scritto: > bdrv_img_create() is being used by the transaction QMP command and > therefore shouldn't print directly to the user. > > Move the param printing to qemu-img instead. Has the side effect of > only printing it when the bdrv_img_create() call succeed

[Qemu-devel] [RFC 3/7] block: bdrv_img_create(): move param printing to qemu-img

2012-10-11 Thread Luiz Capitulino
bdrv_img_create() is being used by the transaction QMP command and therefore shouldn't print directly to the user. Move the param printing to qemu-img instead. Has the side effect of only printing it when the bdrv_img_create() call succeeds, otherwise we can print errors before the action being ta