Re: [libvirt] Storage Backend Error Handling Consistency

2016-03-05 Thread Roman Bogorodskiy
Richard Laager wrote: > These two blocks exist in different storage backends' createVol > implementations: > > if (vol->target.format != VIR_STORAGE_FILE_RAW) { > virReportError(VIR_ERR_NO_SUPPORT, "%s", >_("only RAW volumes are supported by this storage > p

[libvirt] Storage Backend Error Handling Consistency

2016-03-01 Thread Richard Laager
These two blocks exist in different storage backends' createVol implementations: if (vol->target.format != VIR_STORAGE_FILE_RAW) { virReportError(VIR_ERR_NO_SUPPORT, "%s", _("only RAW volumes are supported by this storage pool")); return -VIR_ERR_NO_SUPP