From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdGEl-0004ud-Gh for qemu-devel@nongnu.org; Mon, 13 Feb 2017 08:00:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdGEg-0006pJ-NX for qemu-devel@nongnu.org; Mon, 13 Feb 2017 08:00:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49104) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cdGEg-0006on-Hy for qemu-devel@nongnu.org; Mon, 13 Feb 2017 08:00:06 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7138F80471 for ; Mon, 13 Feb 2017 13:00:06 +0000 (UTC) Date: Mon, 13 Feb 2017 13:00:00 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20170213125959.GA2526@work-vm> References: <20170203160651.19917-1-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170203160651.19917-1-dgilbert@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/4] virtio-net VMState conversion and new VMSTATE macros List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, mst@redhat.com, quintela@redhat.com * Dr. David Alan Gilbert (git) (dgilbert@redhat.com) wrote: > From: "Dr. David Alan Gilbert" > > 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 Queued. > > > 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 > > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK