[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 12/19] parallels: Make a loaded dirty bitmap persistent
From: |
Alexander Ivanov |
Subject: |
[PATCH 12/19] parallels: Make a loaded dirty bitmap persistent |
Date: |
Mon, 2 Oct 2023 10:57:31 +0200 |
After bitmap loading the bitmap is not persistent and is removed on image
saving. Set bitmap persistence to true.
Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
---
block/parallels-ext.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/parallels-ext.c b/block/parallels-ext.c
index ebda6b0a01..bb4478c350 100644
--- a/block/parallels-ext.c
+++ b/block/parallels-ext.c
@@ -256,6 +256,7 @@ static int
parallels_parse_format_extension(BlockDriverState *bs,
if (!bitmap) {
goto fail;
}
+ bdrv_dirty_bitmap_set_persistence(bitmap, true);
bitmaps = g_slist_append(bitmaps, bitmap);
break;
--
2.34.1
- [PATCH 03/19] parallels: Move host clusters allocation to a separate function, (continued)
- [PATCH 03/19] parallels: Move host clusters allocation to a separate function, Alexander Ivanov, 2023/10/02
- [PATCH 05/19] parallels: Recreate used bitmap in parallels_check_leak(), Alexander Ivanov, 2023/10/02
- [PATCH 01/19] parallels: Move inactivation code to a separate function, Alexander Ivanov, 2023/10/02
- [PATCH 11/19] parallels: Handle L1 entries equal to one, Alexander Ivanov, 2023/10/02
- [PATCH 07/19] parallels: Create used bitmap even if checks needed, Alexander Ivanov, 2023/10/02
- [PATCH 17/19] tests: Add parallels images support to test 165, Alexander Ivanov, 2023/10/02
- [PATCH 09/19] parallels: Add dirty bitmaps saving, Alexander Ivanov, 2023/10/02
- [PATCH 08/19] parallels: Make mark_used() and mark_unused() global functions, Alexander Ivanov, 2023/10/02
- [PATCH 14/19] parallels: Truncate images on the last used cluster, Alexander Ivanov, 2023/10/02
- [PATCH 10/19] parallels: Let image extensions work in RW mode, Alexander Ivanov, 2023/10/02
- [PATCH 12/19] parallels: Make a loaded dirty bitmap persistent,
Alexander Ivanov <=
- [PATCH 15/19] parallels: Remove unnecessary data_end field, Alexander Ivanov, 2023/10/02
- Re: [PATCH 15/19] parallels: Remove unnecessary data_end field, Mike Maslenkin, 2023/10/06
- Re: [PATCH 15/19] parallels: Remove unnecessary data_end field, Alexander Ivanov, 2023/10/07
- Re: [PATCH 15/19] parallels: Remove unnecessary data_end field, Mike Maslenkin, 2023/10/07
- Re: [PATCH 15/19] parallels: Remove unnecessary data_end field, Alexander Ivanov, 2023/10/07
- Re: [PATCH 15/19] parallels: Remove unnecessary data_end field, Mike Maslenkin, 2023/10/07
- Re: [PATCH 15/19] parallels: Remove unnecessary data_end field, Alexander Ivanov, 2023/10/08
[PATCH 13/19] parallels: Reverse a conditional in parallels_check_leak() to reduce indents, Alexander Ivanov, 2023/10/02
[PATCH 19/19] tests: Add parallels format support to image-fleecing, Alexander Ivanov, 2023/10/02
[PATCH 16/19] parallels: Check unused clusters in parallels_check_leak(), Alexander Ivanov, 2023/10/02