From patchwork Thu Aug 18 10:09:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prasanna Kumar Kalever X-Patchwork-Id: 9287231 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5171460574 for ; Thu, 18 Aug 2016 10:10:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 435AB28FC2 for ; Thu, 18 Aug 2016 10:10:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37A1428FC9; Thu, 18 Aug 2016 10:10:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D5CAE28FC2 for ; Thu, 18 Aug 2016 10:10:05 +0000 (UTC) Received: from localhost ([::1]:51679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baKGx-0004IG-Gc for patchwork-qemu-devel@patchwork.kernel.org; Thu, 18 Aug 2016 06:10:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baKGc-0004Hy-Eh for qemu-devel@nongnu.org; Thu, 18 Aug 2016 06:09:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baKGZ-0002Nt-13 for qemu-devel@nongnu.org; Thu, 18 Aug 2016 06:09:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baKGY-0002Nk-Rs for qemu-devel@nongnu.org; Thu, 18 Aug 2016 06:09:38 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (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 E17D24E337 for ; Thu, 18 Aug 2016 10:09:37 +0000 (UTC) Received: from pkalever.blr.redhat.com (pkalever.blr.redhat.com [10.70.1.86]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7IA9YiV018325; Thu, 18 Aug 2016 06:09:35 -0400 From: Prasanna Kumar Kalever To: qemu-devel@nongnu.org Date: Thu, 18 Aug 2016 15:39:27 +0530 Message-Id: <1471514967-15160-1-git-send-email-prasanna.kalever@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 18 Aug 2016 10:09:38 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v1 1/1] qapi/block-core: add doc describing GlusterServer vs. SocketAddress X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Prasanna Kumar Kalever , jcody@redhat.com, armbru@redhat.com, vbellur@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 +# +# 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. +# +# 2. GlusterServer lacks case 'fd', since gluster doesn't let you +# pass in a file descriptor. +# # Since: 2.7 ## { 'union': 'GlusterServer',