From nobody Mon Feb 9 19:06:28 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1652687345; cv=none; d=zohomail.com; s=zohoarc; b=OyIANTlbazKVIcXw1djhz/TBCzEFURHExttr7ePIqEtVBi8bSr+TsImE2h/GPQhBWS0h7ZtbM73DwhkYBu79+pE9HvYgzdxvnGQ+07vAzXUgCelxhvF4ATdDUnwen2lFTBjKX4cv4OUSFYKiLYantT+2Ki3dXopFxo8pGTPxnWU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652687345; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=3vaLvwMs0vBVK47xxIxNAhXjADJ0IamkqSblZaGt3cE=; b=EDr/mN5QhnHoufFgmHay2uZCGcoAAXqkzLo/y6BUmqpvAZZUpr3tn81X1ZfEYQ5y6y9+lpo2tXfzR4O0wm/aXCtcMXlxsZWumB6nH3kOKLGSQRhF/sCW+fhZH/Ex8Jui715yBIEna4F2ebNJo8GLIm6agIgsC4ZJDnyjl7R7EtQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1652687345847222.28026846927185; Mon, 16 May 2022 00:49:05 -0700 (PDT) Received: from localhost ([::1]:34946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqVTU-0004Jo-QY for importer@patchew.org; Mon, 16 May 2022 03:49:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqVGO-0000qb-Be for qemu-devel@nongnu.org; Mon, 16 May 2022 03:35:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:47962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqVGL-0001tn-Hp for qemu-devel@nongnu.org; Mon, 16 May 2022 03:35:32 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-645-EsfvTJQKPRCllfe3Qw-2yQ-1; Mon, 16 May 2022 03:35:25 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 33904805B25; Mon, 16 May 2022 07:35:25 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.36.112.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 12EEF401474; Mon, 16 May 2022 07:35:25 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id E571721E6837; Mon, 16 May 2022 09:35:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652686528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3vaLvwMs0vBVK47xxIxNAhXjADJ0IamkqSblZaGt3cE=; b=YvwdXhk8SO1PKjsLkhz8HXAb3nQVKliJnvPX3yBhxrIlu5cudQZyUc0q+P8J+yWkh4ZxjM XRamPZQToOLtiRKpVz4giLF/iRGgVDGYmSlwQgyaCvu9hOyzbIXoEeLZrtEsJqqa7VTYcg BkDMjGmuaZQ7tmZmpkeIOyjQfRLOeu8= X-MC-Unique: EsfvTJQKPRCllfe3Qw-2yQ-1 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 10/11] docs/devel/qapi-code-gen: Belatedly document feature naming rules Date: Mon, 16 May 2022 09:35:21 +0200 Message-Id: <20220516073522.3880774-11-armbru@redhat.com> In-Reply-To: <20220516073522.3880774-1-armbru@redhat.com> References: <20220516073522.3880774-1-armbru@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1652687347761100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Markus Armbruster Message-Id: <20220510061645.3209195-3-armbru@redhat.com> --- docs/devel/qapi-code-gen.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/devel/qapi-code-gen.rst b/docs/devel/qapi-code-gen.rst index 7b968433a6..cd9b544376 100644 --- a/docs/devel/qapi-code-gen.rst +++ b/docs/devel/qapi-code-gen.rst @@ -739,10 +739,11 @@ Type names ending with ``Kind`` or ``List`` are reser= ved for the generator, which uses them for implicit union enums and array types, respectively. =20 -Command names, and member names within a type, should be all lower -case with words separated by a hyphen. However, some existing older -commands and complex types use underscore; when extending them, -consistency is preferred over blindly avoiding underscore. +Command names, member names within a type, and feature names should be +all lower case with words separated by a hyphen. However, some +existing older commands and complex types use underscore; when +extending them, consistency is preferred over blindly avoiding +underscore. =20 Event names should be ALL_CAPS with words separated by underscore. =20 --=20 2.35.3