diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-10-06 19:27:14 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-10-08 14:41:20 +0100 |
commit | 3ad44c866042919374e2d840502e53da2ed8aef0 (patch) | |
tree | e63abe0120c9469f3644cf156b06293e79b1e224 /daemon/devsparts.c | |
parent | ed7fda161e1f3d0beb02a368fcbcf5ed95dcdac1 (diff) | |
download | libguestfs-3ad44c866042919374e2d840502e53da2ed8aef0.tar.gz libguestfs-3ad44c866042919374e2d840502e53da2ed8aef0.tar.xz libguestfs-3ad44c866042919374e2d840502e53da2ed8aef0.zip |
launch: libvirt: Create qcow2 overlays for read-only drives and the appliance.
Instead of adding the snapshot=on option via <qemu:arg>, create qcow2
overlays for any read-only drives and the appliance using 'qemu-img
create' + a temporary file.
This is a workaround for missing support for <transient/> in libvirt's
qemu driver. Also for the unpredictable way that libvirtd handles
$TMPDIR: we want to control where the temporary disk is created.
Currently it is also much slower, because qemu-img is slow. However
we hope to fix qemu upstream.
Diffstat (limited to 'daemon/devsparts.c')
0 files changed, 0 insertions, 0 deletions