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 <ebl...@redhat.com> --- 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