Re: [PATCH] migration: Fix block_bitmap_mapping migration

2023-05-04 Thread Kevin Wolf
Am 03.05.2023 um 20:10 hat Juan Quintela geschrieben: > 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:

Re: [PATCH] migration: Fix block_bitmap_mapping migration

2023-05-03 Thread Vladimir Sementsov-Ogievskiy
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: b804b35b1c8a0edfd127ac2081

[PATCH] migration: Fix block_bitmap_mapping migration

2023-05-03 Thread Juan Quintela
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 mi