diff options
author | Fabiano Rosas <farosas@suse.de> | 2024-08-27 14:45:54 -0300 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2024-09-03 16:24:35 -0300 |
commit | 9f0e10890109601f375b687736b65e8fac734b55 (patch) | |
tree | 67c71911d2512d57939f23af2fcc8288e3051fa0 /hw/m68k/next-cube.c | |
parent | 0e427da096d46860c2a5755295d1e05647e90154 (diff) | |
download | qemu-9f0e10890109601f375b687736b65e8fac734b55.zip qemu-9f0e10890109601f375b687736b65e8fac734b55.tar.gz qemu-9f0e10890109601f375b687736b65e8fac734b55.tar.bz2 |
migration/multifd: Replace p->pages with an union pointer
We want multifd to be able to handle more types of data than just ram
pages. To start decoupling multifd from pages, replace p->pages
(MultiFDPages_t) with the new type MultiFDSendData that hides the
client payload inside an union.
The general idea here is to isolate functions that *need* to handle
MultiFDPages_t and move them in the future to multifd-ram.c, while
multifd.c will stay with only the core functions that handle
MultiFDSendData/MultiFDRecvData.
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'hw/m68k/next-cube.c')
0 files changed, 0 insertions, 0 deletions