mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +00:00
clone_instance built its own volume XML for file disks and for RBD images, and called clone_volume only for block disks. Each disk now goes through wvmStorage.clone_volume, in the pool of its source volume. clone_volume makes the volume under the exact name it is given and returns its path; clone_name, as before, gives a dir pool's name its suffix, and the template copy and the storage clone job use it. Metadata preallocation is asked only for qcow2, the one format libvirt preallocates. A raw file copy no longer gets qcow2's compat options, and an RBD copy no longer passes the preallocation flag, which the RBD backend refuses. |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| connection.py | ||
| create.py | ||
| hostdetails.py | ||
| instance.py | ||
| interface.py | ||
| libvirt-ssh | ||
| network.py | ||
| nodedevs.py | ||
| nwfilters.py | ||
| storage.py | ||
| util.py | ||
| virtsecrets.py | ||