diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-03-08 16:26:13 -0800 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-03-09 15:37:07 -0800 |
| commit | 7dbf9c7de23623223ef60c0566d9330797c5f87e (patch) | |
| tree | a154c780f771eb6e6d20091d8680a52752fdbabb /nova/rootwrap | |
| parent | f936594d9e37abf4d8c22c2545a9b67ed8f25c90 (diff) | |
Make snapshots with qemu-img instead of libvirt
* snapshot is only supposed to snapshot the root drive, whereas
libvirt snapshots snapshot the memory and all attached disks
* removes silly qemu_img flag
* fixes bug 946830
Change-Id: I6afc9dbaa855f06864cd5a37f89ad63555e35d23
Diffstat (limited to 'nova/rootwrap')
| -rwxr-xr-x | nova/rootwrap/compute.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/rootwrap/compute.py b/nova/rootwrap/compute.py index 31c0ad91d..9985edb3a 100755 --- a/nova/rootwrap/compute.py +++ b/nova/rootwrap/compute.py @@ -179,6 +179,10 @@ filterlist = [ # nova/virt/xenapi/vm_utils.py: 'mkfs' filters.CommandFilter("/sbin/mkfs", "root"), + # nova/virt/libvirt/utils.py: 'qemu-img' + filters.CommandFilter("/usr/bin/qemu-img", "root"), + # nova/virt/libvirt/connection.py: filters.ReadFileFilter("/etc/iscsi/initiatorname.iscsi"), + ] |
