qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v7 15/15] schema: Drop pointless empty type CpuInfoO


From: Eric Blake
Subject: [Qemu-devel] [PATCH v7 15/15] schema: Drop pointless empty type CpuInfoOther
Date: Fri, 20 May 2016 16:40:24 -0600

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 <address@hidden>

---
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]