From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5C1j-0008CQ-7X for qemu-devel@nongnu.org; Wed, 17 Jun 2015 08:01:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5C1f-00006o-MO for qemu-devel@nongnu.org; Wed, 17 Jun 2015 08:01:07 -0400 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:37324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5C1f-00006h-GD for qemu-devel@nongnu.org; Wed, 17 Jun 2015 08:01:03 -0400 Received: by wifx6 with SMTP id x6so50639956wif.0 for ; Wed, 17 Jun 2015 05:01:02 -0700 (PDT) From: "=?UTF-8?B?S8WRdsOhZ8OzIFpvbHTDoW4=?=" Message-ID: <55816180.4090101@gmail.com> Date: Wed, 17 Jun 2015 14:01:04 +0200 MIME-Version: 1.0 References: <87fv5qg448.fsf@blackfin.pond.sub.org> In-Reply-To: <87fv5qg448.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v2 4/6] qapi: AllocVisitor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Gerd Hoffmann , qemu-devel@nongnu.org, Michael Roth 2015-06-17 09:56 keltezéssel, Markus Armbruster írta: > "Kővágó, Zoltán" 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. Oh, crap, ignore this commit. Just realized that in the refactorings I did I removed all references to this visitor... so it's not needed.