David Hildenbrand <da...@redhat.com> wrote: > Let's move more code into vmstate_save(), reducing code duplication and > preparing for reuse of vmstate_save() in qemu_savevm_state_setup(). We > have to move vmstate_save() to make the compiler happy. > > We'll now also trace from qemu_save_device_state(), triggering the same > tracepoints as previously called from > qemu_savevm_state_complete_precopy_non_iterable() only. Note that > qemu_save_device_state() ignores iterable device state, such as RAM, > and consequently doesn't trigger some other trace points (e.g., > trace_savevm_state_setup()). > > Signed-off-by: David Hildenbrand <da...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com>