|
|
79b470 |
From 0084cc867b6de11a1b5ac1207ada57a3cc43acaf Mon Sep 17 00:00:00 2001
|
|
|
79b470 |
Message-Id: <0084cc867b6de11a1b5ac1207ada57a3cc43acaf@dist-git>
|
|
|
79b470 |
From: Peter Krempa <pkrempa@redhat.com>
|
|
|
79b470 |
Date: Tue, 21 Jul 2020 13:56:25 +0200
|
|
|
79b470 |
Subject: [PATCH] qemuDomainBlockPivot: Ignore failures of creating active
|
|
|
79b470 |
layer bitmap
|
|
|
79b470 |
|
|
|
79b470 |
Ignore errors from creating "libvirt-tmp-activewrite" bitmap. This
|
|
|
79b470 |
prevents failures of finishing blockjobs if the bitmap already exists.
|
|
|
79b470 |
|
|
|
79b470 |
Note that if the bitmap exists, the worst case that can happen is that
|
|
|
79b470 |
more bits are marked as dirty in the resulting merge.
|
|
|
79b470 |
|
|
|
79b470 |
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
|
|
|
79b470 |
Reviewed-by: Eric Blake <eblake@redhat.com>
|
|
|
79b470 |
(cherry picked from commit 66dc4992fa8a51c4e774d32bcf75f26b1365e998)
|
|
|
79b470 |
|
|
|
79b470 |
rhel-8.3: https://bugzilla.redhat.com/show_bug.cgi?id=1857779
|
|
|
79b470 |
rhel-av-8.2.1: not cloned yet
|
|
|
79b470 |
Message-Id: <9cec292732836005d59b50a0701acb804ed1dda5.1595332476.git.pkrempa@redhat.com>
|
|
|
79b470 |
|
|
|
79b470 |
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
79b470 |
---
|
|
|
79b470 |
src/qemu/qemu_driver.c | 2 +-
|
|
|
79b470 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
79b470 |
|
|
|
79b470 |
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
|
|
|
79b470 |
index 454d7b1c16..b5df0c63d4 100644
|
|
|
79b470 |
--- a/src/qemu/qemu_driver.c
|
|
|
79b470 |
+++ b/src/qemu/qemu_driver.c
|
|
|
79b470 |
@@ -17659,7 +17659,7 @@ qemuDomainBlockPivot(virQEMUDriverPtr driver,
|
|
|
79b470 |
}
|
|
|
79b470 |
|
|
|
79b470 |
if (bitmapactions && rc == 0)
|
|
|
79b470 |
- rc = qemuMonitorTransaction(priv->mon, &bitmapactions);
|
|
|
79b470 |
+ ignore_value(qemuMonitorTransaction(priv->mon, &bitmapactions));
|
|
|
79b470 |
|
|
|
79b470 |
if (rc == 0)
|
|
|
79b470 |
ret = qemuMonitorJobComplete(priv->mon, job->name);
|
|
|
79b470 |
--
|
|
|
79b470 |
2.27.0
|
|
|
79b470 |
|