mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 06:25:19 +00:00
qemuDomainBlockPivot: Ignore failures of creating active layer bitmap
Ignore errors from creating "libvirt-tmp-activewrite" bitmap. This prevents failures of finishing blockjobs if the bitmap already exists. Note that if the bitmap exists, the worst case that can happen is that more bits are marked as dirty in the resulting merge. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
24ac1a7c04
commit
66dc4992fa
@ -17415,7 +17415,7 @@ qemuDomainBlockPivot(virQEMUDriverPtr driver,
|
||||
}
|
||||
|
||||
if (bitmapactions && rc == 0)
|
||||
rc = qemuMonitorTransaction(priv->mon, &bitmapactions);
|
||||
ignore_value(qemuMonitorTransaction(priv->mon, &bitmapactions));
|
||||
|
||||
if (rc == 0)
|
||||
ret = qemuMonitorJobComplete(priv->mon, job->name);
|
||||
|
Loading…
Reference in New Issue
Block a user