On Friday, 24 August 2018 13:24:14 CEST Richard W.M. Jones wrote:
This option prints the estimated size of the data that will be
copied
from the source disk.
Currently this overestimates by the size of the qcow2 header, but for
real disk images that doesn't matter much.
For example:
$ virt-builder fedora-27
$ virt-v2v -i disk fedora-27.img -o null --print-estimate
[...]
virt-v2v: This guest has virtio drivers installed.
[ 44.0] Mapping filesystem data to avoid copying unused and blank areas
[ 44.5] Closing the overlay
disk 1: 1047920640
total: 1047920640
---
The non-machine readable output could be better, but I guess I will send
a patch for it later ...
LGTM otherwise.
--
Pino Toscano