Message ID | 1467514729-29366-17-git-send-email-eblake@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/qapi-schema.json b/qapi-schema.json index 3a7632b..e4b0838 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -846,7 +846,7 @@ 'ppc': 'CpuInfoPPC', 'mips': 'CpuInfoMIPS', 'tricore': 'CpuInfoTricore', - 'other': 'CpuInfoOther' } } + 'other': {} } } ## # @CpuInfoX86: @@ -906,16 +906,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.
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 (remember, for simple unions, we still have to create a wrapper around a type in order to parse 'data':{}, rather than being a branch that parses nothing). Signed-off-by: Eric Blake <eblake@redhat.com> --- v8: tweak commit message v7: new patch --- qapi-schema.json | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-)