12.05.2020 20:15, Vladimir Sementsov-Ogievskiy wrote:
+    } else if (s->bdev_length != target_length) {
+        error_setg(errp, "Source and target image have different sizes");
+        ret = -EINVAL;

Seems, the only case, when mirror_run() sets errp. And, therefore, the only 
correct one..

the only one failure case I mean, of course.

--
Best regards,
Vladimir

Reply via email to