From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3t6H-0002IM-Ol for qemu-devel@nongnu.org; Fri, 20 May 2016 18:41:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3t68-0004ZM-WC for qemu-devel@nongnu.org; Fri, 20 May 2016 18:40:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3t68-0004Z2-R8 for qemu-devel@nongnu.org; Fri, 20 May 2016 18:40:48 -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 618BF6266D for ; Fri, 20 May 2016 22:40:48 +0000 (UTC) From: Eric Blake Date: Fri, 20 May 2016 16:40:24 -0600 Message-Id: <1463784024-17242-16-git-send-email-eblake@redhat.com> In-Reply-To: <1463784024-17242-1-git-send-email-eblake@redhat.com> References: <1463784024-17242-1-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH v7 15/15] schema: Drop pointless empty type CpuInfoOther List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com Now that we can represent an empty type anonymously in a flat union, we can drop one such empty types that existed solely for CpuInfo. However, we can't drop Abort or NetdevNoneOptions, as those were used by simple unions. Signed-off-by: Eric Blake --- v7: new patch --- qapi-schema.json | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index fee4d07..2afcbb9 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -785,7 +785,7 @@ 'ppc': 'CpuInfoPPC', 'mips': 'CpuInfoMIPS', 'tricore': 'CpuInfoTricore', - 'other': 'CpuInfoOther' } } + 'other': {} } } ## # @CpuInfoX86: @@ -845,16 +845,6 @@ { 'struct': 'CpuInfoTricore', 'data': { 'PC': 'int' } } ## -# @CpuInfoOther: -# -# No additional information is available about the virtual CPU -# -# Since 2.6 -# -## -{ 'struct': 'CpuInfoOther', 'data': { } } - -## # @query-cpus: # # Returns a list of information about each virtual CPU. -- 2.5.5