[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
- [Qemu-devel] [PATCH v7 03/15] qapi: Require all branches of flat union enum to be covered, (continued)
- [Qemu-devel] [PATCH v7 03/15] qapi: Require all branches of flat union enum to be covered, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 04/15] qapi: Hide tag_name data member of variants, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 05/15] qapi: Add type.is_empty() helper, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 02/15] net: use Netdev instead of NetClientOptions in client init, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 06/15] qapi: Plumb in 'box' to qapi generator lower levels, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 07/15] qapi: Implement boxed types for commands/events, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 10/15] qapi-event: Reduce chance of collision with event data, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 14/15] qapi: Allow anonymous branch types in flat union, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 12/15] net: Use correct type for bool flag, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 13/15] net: Complete qapi-fication of netdev_add, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 15/15] schema: Drop pointless empty type CpuInfoOther,
Eric Blake <=
- [Qemu-devel] [PATCH v7 09/15] block: Simplify drive-mirror, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 08/15] block: Simplify block_set_io_throttle, Eric Blake, 2016/05/20
- [Qemu-devel] [PATCH v7 11/15] qapi: Change Netdev into a flat union, Eric Blake, 2016/05/20
- Re: [Qemu-devel] [PATCH v7 00/15] qapi netdev_add introspection (post-introspection cleanups subset F), Eric Blake, 2016/05/20