From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cB19J-0005gQ-J6 for qemu-devel@nongnu.org; Sun, 27 Nov 2016 10:13:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cB19I-0000VN-Ul for qemu-devel@nongnu.org; Sun, 27 Nov 2016 10:13:49 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:42641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cB19I-0000VD-OK for qemu-devel@nongnu.org; Sun, 27 Nov 2016 10:13:48 -0500 Date: Sun, 27 Nov 2016 16:13:46 +0100 From: Samuel Thibault Message-ID: <20161127151346.GP8854@var.home> References: <20161123185258.771-1-dgilbert@redhat.com> <20161123185258.771-5-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161123185258.771-5-dgilbert@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 4/5] slirp: VMStatify socket level List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: qemu-devel@nongnu.org, quintela@redhat.com, amit.shah@redhat.com Hello, Dr. David Alan Gilbert (git), on Wed 23 Nov 2016 18:52:57 +0000, wrote: > +static const VMStateDescription vmstate_slirp_socket_addr = { > + .name = "slirp-socket-addr", > + .version_id = 4, > + .fields = (VMStateField[]) { > + VMSTATE_UINT16(ss.ss_family, union slirp_sockaddr), > + VMSTATE_UINT32_TEST(sin.sin_addr.s_addr, union slirp_sockaddr, > + slirp_family_inet), > + VMSTATE_UINT16_TEST(sin.sin_port, union slirp_sockaddr, > + slirp_family_inet), > + VMSTATE_END_OF_LIST() > + } > +}; How will we be able to add the IPv6 case here? Samuel