mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
migration/multifd: Move nocomp code into multifd-nocomp.c
In preparation for adding new payload types to multifd, move most of the no-compression code into multifd-nocomp.c. Let's try to keep a semblance of layering by not mixing general multifd control flow with the details of transmitting pages of ram. There are still some pieces leftover, namely the p->normal, p->zero, etc variables that we use for zero page tracking and the packet allocation which is heavily dependent on the ram code. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
parent
dc6327d99c
commit
40c9471e40
4 changed files with 402 additions and 375 deletions
|
@ -21,6 +21,7 @@ system_ss.add(files(
|
|||
'migration-hmp-cmds.c',
|
||||
'migration.c',
|
||||
'multifd.c',
|
||||
'multifd-nocomp.c',
|
||||
'multifd-zlib.c',
|
||||
'multifd-zero-page.c',
|
||||
'options.c',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue