Il 15/10/2012 19:33, Kevin Wolf ha scritto:
> 
>> > +    source = bs->backing_hd;
>> > +    if (!source && sync == MIRROR_SYNC_MODE_TOP) {
>> > +        sync = MIRROR_SYNC_MODE_FULL;
>> > +    }
>> > +
>> > +    proto_drv = bdrv_find_protocol(target);
>> > +    if (!proto_drv) {
>> > +        error_set(errp, QERR_INVALID_BLOCK_FORMAT, format);
> Not a great error message for this case.

Hmm, this is cut-and-paste from qmp_transaction.

I will add an Error ** to bdrv_find_format and bdrv_find_protocol when I
have some time (certainly before 1.3).

Paolo

Reply via email to