Received: from eggs.gnu.org ([2001:4830:134:3::10]:55304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baMUT-0004wn-Mg for qemu-devel@nongnu.org; Thu, 18 Aug 2016 08:32:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baMUP-0002Sg-Cp for qemu-devel@nongnu.org; Thu, 18 Aug 2016 08:32:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baMUP-0002ST-83 for qemu-devel@nongnu.org; Thu, 18 Aug 2016 08:32:05 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (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 AAE05C057FAD for ; Thu, 18 Aug 2016 12:32:04 +0000 (UTC) From: Markus Armbruster References: <1471514967-15160-1-git-send-email-prasanna.kalever@redhat.com> Date: Thu, 18 Aug 2016 14:32:02 +0200 In-Reply-To: <1471514967-15160-1-git-send-email-prasanna.kalever@redhat.com> (Prasanna Kumar Kalever's message of "Thu, 18 Aug 2016 15:39:27 +0530") Message-ID: <871t1mb6m5.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v1 1/1] qapi/block-core: add doc describing GlusterServer vs. SocketAddress List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Prasanna Kumar Kalever Cc: qemu-devel@nongnu.org, jcody@redhat.com, vbellur@redhat.com Prasanna Kumar Kalever writes: > Added documentation describing relation between GlusterServer and > SocketAddress qapi schemas. > > Thanks to Markus Armbruster > > Signed-off-by: Prasanna Kumar Kalever > --- > qapi/block-core.json | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/qapi/block-core.json b/qapi/block-core.json > index 5e2d7d7..5305562 100644 > --- a/qapi/block-core.json > +++ b/qapi/block-core.json > @@ -2121,6 +2121,15 @@ > # > # @tcp: host address and port number > # > +# GlusterServer vs. SocketAddress Suggest: # This is similar to SocketAddress, only simpler: > +# > +# 1. GlusterServer is a flat union, SocketAddress is a simple union. > +# A flat union is nicer over simple for the reason it avoids > +# nesting (i.e. more {}) on the wire. Perhaps "nicer than simple because it" > +# > +# 2. GlusterServer lacks case 'fd', since gluster doesn't let you > +# pass in a file descriptor. > +# Suggest: # GlusterServer is actually not Gluster-specific, and could be # compatibily evolved into a replacement for SocketAddress. > # Since: 2.7 > ## > { 'union': 'GlusterServer',