Received: from eggs.gnu.org ([2001:4830:134:3::10]:53310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z58Cz-0002UN-Cv for qemu-devel@nongnu.org; Wed, 17 Jun 2015 03:56:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z58Cw-0002Sv-7D for qemu-devel@nongnu.org; Wed, 17 Jun 2015 03:56:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z58Cw-0002Sq-1j for qemu-devel@nongnu.org; Wed, 17 Jun 2015 03:56:26 -0400 From: Markus Armbruster References: Date: Wed, 17 Jun 2015 09:56:23 +0200 In-Reply-To: (=?utf-8?B?IkvFkXbDoWfDsywgWm9sdMOhbiIncw==?= message of "Tue, 16 Jun 2015 14:49:07 +0200") Message-ID: <87fv5qg448.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 4/6] qapi: AllocVisitor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?S8WRdsOhZ8OzLCBab2x0w6Fu?= Cc: Gerd Hoffmann , qemu-devel@nongnu.org, Michael Roth "K=C5=91v=C3=A1g=C3=B3, Zolt=C3=A1n" writes: > Simple visitor that recursively allocates structures with only optional > variables. Unions are initialized to the first type specified. Other non > optional types are not supported. Sounds dubious :) Can you explain why it's useful? I guess later patches provide an example.