mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 11:16:47 +00:00
The edit_volume bus change detached the disk and attached a new one built as a file disk, so block and rbd disks lost their source and auth, and a failed attach left the disk detached. Add wvmInstance.change_disk_bus, which reuses the disk element and only changes <target> (dropping the old bus address), and re-attaches the original disk if attaching fails. edit_disk also rebuilt every disk with <source file=...>; it now keeps the existing <source> and <auth> of block and network disks. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| connection.py | ||
| create.py | ||
| hostdetails.py | ||
| instance.py | ||
| interface.py | ||
| network.py | ||
| nwfilters.py | ||
| rwlock.py | ||
| storage.py | ||
| test_network_ip.py | ||
| test_rwlock.py | ||
| test_util.py | ||
| test_xml_safety.py | ||
| util.py | ||
| virtsecrets.py | ||