diff options
| author | Fabiano Rosas <farosas@suse.de> | 2024-03-11 18:00:09 +0000 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2024-03-11 16:34:51 -0400 |
| commit | 44fe138edc0f08b8568fe4ee90be6a2a56c67daf (patch) | |
| tree | 06b9bb3b6801aa59726cb57e955ed0c95e8b1332 /hw/core/qdev-properties-system.c | |
| parent | c9539d9b14e6369ff169951f581b4c5cea1786e2 (diff) | |
| download | focaccia-qemu-44fe138edc0f08b8568fe4ee90be6a2a56c67daf.tar.gz focaccia-qemu-44fe138edc0f08b8568fe4ee90be6a2a56c67daf.zip | |
migration/multifd: Allow zero pages in file migration
Currently, it's an error to have no data pages in the multifd file migration because zero page detection is done in the migration thread and zero pages don't reach multifd. This is enforced with the pages->num assert. We're about to add zero page detection on the multifd thread. Fix the file_write_ramblock_iov() to stop considering p->iovs_num=0 an error. Signed-off-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20240311180015.3359271-2-hao.xiang@linux.dev Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions