On Mon, Jan 18, 2016 at 03:33:25PM +0000, Richard W.M. Jones wrote:
I tried another workaround which was to get virt-resize to fsync the
output file before closing the libvirt connection, but that doesn't
work for reasons I don't understand so far - still studying this.
I worked out what was happening here -- I'd inserted the fsync at the
wrong place in virt-resize. So I have now successfully worked around
this for the virt-resize case, however it's still a problem that could
manifest itself in other uses of libvirt + qemu + slow devices.
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