mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
experimental: external snapshot fixes 2
This commit is contained in:
parent
06994b0423
commit
f4aa925e2a
2 changed files with 5 additions and 1 deletions
|
|
@ -1335,6 +1335,7 @@ class wvmInstance(wvmConnect):
|
|||
info = self.instance.blockJobInfo(target_dev, 0)
|
||||
if info.get('cur') == info.get('end'):
|
||||
self.instance.blockJobAbort(target_dev,flags=VIR_DOMAIN_BLOCK_JOB_ABORT_PIVOT)
|
||||
time.sleep(2)
|
||||
break
|
||||
# Check again pool for snapshot delta volume; if it exist, remove it manually
|
||||
with contextlib.suppress(libvirtError):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue