On Thu, Dec 22, 2022 at 12:02:10PM +0100, David Hildenbrand wrote: > Migrating device state before we start iterating is currently impossible. > Introduce and use qemu_savevm_state_start_precopy(), and use > a new special migration priority -- MIG_PRI_POST_SETUP -- to decide whether > state will be saved in qemu_savevm_state_start_precopy() or in > qemu_savevm_state_complete_precopy_*().
Can something like this be done in qemu_savevm_state_setup()? Thanks, -- Peter Xu