diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-01-14 00:19:14 +0000 |
---|---|---|
committer | Tarmac <> | 2011-01-14 00:19:14 +0000 |
commit | 14a42e45cf1a29fb7622a5f704b275335ab04b79 (patch) | |
tree | 235fe23b08036719bacb2f5ee63aa7d30918bf36 /nova/exception.py | |
parent | 24e6372891be1b6dd81de0af89ece88f256a32e9 (diff) | |
parent | 21c4f64d9df9c76a5a77ae4e92c600a3b4457418 (diff) | |
download | nova-14a42e45cf1a29fb7622a5f704b275335ab04b79.tar.gz nova-14a42e45cf1a29fb7622a5f704b275335ab04b79.tar.xz nova-14a42e45cf1a29fb7622a5f704b275335ab04b79.zip |
This modifies libvirt to use CoW images instead of raw images. This is much more efficient and allows us to use the snapshotting capabilities available for qcow2 images. It also changes local storage to be a separate drive instead of a separate partition.
I'm proposing this branch for review to get feedback. I may have inadvertently broken a few things. Comments and possible issues:
1. I haven't tested the other hypervisors. I may have broken libvirt xen support and uml support with this patch.
2. Is it useful to have a use_cow_images param, or should it just be automatic for qemu/kvm and turned off for everything else.
3. create_image is a large annoying method. I tried to clean it up a bit, but it could probably use a bit more refactoring.
4. disk.py seems to be only used by the hypervisors, so perhaps it should move into virt dir.
5. disk.py/partition() is unused now. Should we leave it in or throw it away?
Comments welcome
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions