qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] migration: Fix block_bitmap_mapping migration


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH] migration: Fix block_bitmap_mapping migration
Date: Wed, 3 May 2023 22:04:07 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 03.05.23 21:10, Juan Quintela wrote:
It is valid that params->has_block_bitmap_mapping is true and
params->block_bitmap_mapping is NULL.  So we can't use the trick of
having a single function.

Move to two functions one for each value and the tests are fixed.

Fixes: b804b35b1c8a0edfd127ac20819c234be55ac7fc
        migration: Create migrate_block_bitmap_mapping() function

Reported-by: Kevin Wolf<kwolf@redhat.com>
Signed-off-by: Juan Quintela<quintela@redhat.com>

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>

--
Best regards,
Vladimir




reply via email to

[Prev in Thread] Current Thread [Next in Thread]