mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_audit_rows.py | ||
| test_live_pools.py | ||
| test_new_pool.py | ||
| test_pool_in_use.py | ||
| test_pool_page.py | ||
| test_pool_target.py | ||
| test_sftp_pipelined.py | ||
| test_ssh_pool.py | ||
| test_upload_job.py | ||
| test_views.py | ||
| test_volume_clone_job.py | ||