Received: from eggs.gnu.org ([2001:4830:134:3::10]:50453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcaCU-0005W5-Cv for qemu-devel@nongnu.org; Wed, 24 Aug 2016 11:34:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcaCO-0006zn-7V for qemu-devel@nongnu.org; Wed, 24 Aug 2016 11:34:45 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:31279 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcaCO-0006zj-19 for qemu-devel@nongnu.org; Wed, 24 Aug 2016 11:34:40 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u7OFYHoC066891 for ; Wed, 24 Aug 2016 11:34:39 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0b-001b2d01.pphosted.com with ESMTP id 250wunsnqx-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 24 Aug 2016 11:34:39 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 24 Aug 2016 16:34:37 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id C6B921B0804B for ; Wed, 24 Aug 2016 16:36:13 +0100 (BST) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u7OFYYq722610068 for ; Wed, 24 Aug 2016 15:34:34 GMT Received: from d06av08.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u7OFYXFB025046 for ; Wed, 24 Aug 2016 09:34:34 -0600 Date: Wed, 24 Aug 2016 17:34:31 +0200 From: Cornelia Huck In-Reply-To: <1472046153-22123-1-git-send-email-dgilbert@redhat.com> References: <1472046153-22123-1-git-send-email-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20160824173431.4993916d.cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] [RFC 0/6] converting some of virtio to VMState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: qemu-devel@nongnu.org, mst@redhat.com, amit.shah@redhat.com, quintela@redhat.com, duanj@linux.vnet.ibm.com On Wed, 24 Aug 2016 14:42:27 +0100 "Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > Hi, > This series converts two parts of virtio to VMState - the > device load/save for virtio-balloon and virtio-net. > > It's only been smoke tested (which it passes); but if anyone > has a good suggestion for testing virtio-net migration > I'd be greatful. > > The first couple of patches are just general error reporting improvements > for vmstate; and could go in straight away. > The 3rd adds a new vmstate macro for skipping chunks of input data > > The 4th wires in a call to vmstate_{load|save}_state in virtio_{load|save} > calling the vmsd on virtio device class; this is instead of the current ->load/->save > methods. The idea is that eventually I'll be able to kill off the ->load/->save. > Also my intention is to add the recursion into vdc->vmsd into the main vmstate_virtio > vmsd via some new macro I've not figured out yet. > > The meat is in the 5th and 6th patches that do balloon and virtio-net. > > My plan is to attack virtio_blk and virtio_serial_bus next; both of which > have loops walking along lists (in subtly different ways); I intend > to see how Jianjun Duan's loop migration code would fit with those and > try and come up with something general that does at least all 3 cases. I've had a quick glance at your changes and they look sane (at least up to the balloon patch; I'll need some quiet time to look at the virtio-net changes). I'll try to see when I can give it a bit of testing.