fstrim is an optimization. If it fails, it's not fatal (although virt-v2v will run a lot more slowly). We also expect that it will fail for non-aligned NTFS partitions found on old versions of Windows, and in that case there's nothing that can be done about it. Therefore only emit the warning when we are debugging.
When generating OVF (eg. for -o rhev, -o vdsm) we have to put the operating system type into a particular field of the output, in a format that oVirt/RHEV will understand. Add further Windows OS variants to this list. The variants are derived by examining ovirt-engine sources. Thanks: Tingting Zheng for testing Windows conversions to RHEV and finding this bug.
…1213247). Add a common function print_version_and_exit ~prog () and use this function to display the version in all OCaml tools, to ensure consistent output.
Fixes commit f210906.
… and partitioning problems.
…nge partitioning type to LVM.
Extend test-v2v-i-ova-formats.sh to test for tarballs compressed as gzip or xz; followup of commit 3c582cf.
Since I created these with virt-builder without specifying the format, they have format=qcow2 (not raw). Instead of tediously recreating or reuploading these images, just change the metadata.
…ng disk images. New virt-install defaults to qcow2 format unless specified. Previously it defaulted to raw. Specify the format explicitly.
Followup of commit 1db249a, as it outputs a new port attribute.
Do not rely on .ovf and .mf files being in the top-level of the ova archive, but search them anywhere within the content of the ova. This also changes the result of the search of the .ovf file: previously, one (random) file was picked in case there were more than one, while now this situation triggers an error. Related to RHBZ#1186800.
The serial console should be fixes in these versions.
Import disks stored as "file"-type volumes. Side effect: a guest converted to libvirt using virt-v2v can be converted again using virt-v2v.
This makes it possible to connect to the right libvirt.
Factor out the connection and pool loading out of v2v_pool_dumpxml, so it can be used in later implementations requiring a pool. Should be just code motion.