diff options
author | Rafi Khardalian <rafi@metacloud.com> | 2013-01-30 02:39:18 +0000 |
---|---|---|
committer | Rafi Khardalian <rafi@metacloud.com> | 2013-01-30 15:32:27 +0000 |
commit | b216ed51914986087ea7dee57bc29904fda001a0 (patch) | |
tree | b6f96b913d7b3e9faaa0abc30dfeed0d6c5b8d62 /nova/exception.py | |
parent | 05751bb7861892b949dedeccc283ce48abee0d16 (diff) | |
download | nova-b216ed51914986087ea7dee57bc29904fda001a0.tar.gz nova-b216ed51914986087ea7dee57bc29904fda001a0.tar.xz nova-b216ed51914986087ea7dee57bc29904fda001a0.zip |
Add support for compressing qcow2 snapshots
Fixes bug 1109923
Adds a new configuration option:
libvirt_snapshot_compression=False (Default)
When set to True and the snapshot output format is qcow2, we pass
the -c option into qemu-img, which enables compression. This patch
also refactors the extract_image function to make construction of
the whole qemu-img command more dynamic.
Change-Id: I7a7ebcf41a91a8a9cb14be79e9bb79c22acb136e
Flags: DocImpact
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions