On Fri, Feb 03, 2017 at 04:06:47PM +0000, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > > Hi, > This set converts the virtio-net device to VMState; > it uses a couple of new VMSTATE macros I've added, of which > the VMSTATE_WITH_TMP is a bit unusual, but is intended for dealing > with migration data that doesn't quite look like the data structure > we have in memory. > > Dave
Reviewed-by: Michael S. Tsirkin <m...@redhat.com> > > Dr. David Alan Gilbert (4): > migration: Add VMSTATE_UNUSED_VARRAY_UINT32 > migration: Add VMSTATE_WITH_TMP > tests/migration: Add test for VMSTATE_WITH_TMP > virtio/migration: Migrate virtio-net to VMState > > hw/net/virtio-net.c | 316 > +++++++++++++++++++++++++++-------------- > include/hw/virtio/virtio-net.h | 4 +- > include/migration/vmstate.h | 30 ++++ > migration/vmstate.c | 40 ++++++ > tests/test-vmstate.c | 98 ++++++++++++- > 5 files changed, 375 insertions(+), 113 deletions(-) > > -- > 2.9.3