On Wed, Nov 15, 2017 at 10:30:31PM +0100, Max Reitz wrote:
Hmmm... OK, so as Rich said, you can use the raw driver with an
offset
and a size. And you can use the null-co driver to emulate holes. And
qemu-img convert supports concatenation.
Nice, I didn't know qemu-img convert could concatenate :-)
So that's two distinct ways to do this, neither needing any qemu
modifications.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v