mirror of https://gitee.com/openkylin/qemu.git
qapi-schema: Make block-core.json self-contained
Except for block-core.json, the sub-schemas are self-contained: if they use a symbol defined in another sub-schema, they include that sub-schema. To check, feed the sub-schema to qapi2texi (or any other QAPI generator) along with the pragma from qapi-schema.json. Fix up things to make block-core.json self-contained, too. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1503602048-12268-15-git-send-email-armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
c09656f1d3
commit
2031c133ed
|
@ -2815,20 +2815,6 @@
|
|||
{ 'event': 'ACPI_DEVICE_OST',
|
||||
'data': { 'info': 'ACPIOSTInfo' } }
|
||||
|
||||
##
|
||||
# @IoOperationType:
|
||||
#
|
||||
# An enumeration of the I/O operation types
|
||||
#
|
||||
# @read: read operation
|
||||
#
|
||||
# @write: write operation
|
||||
#
|
||||
# Since: 2.1
|
||||
##
|
||||
{ 'enum': 'IoOperationType',
|
||||
'data': [ 'read', 'write' ] }
|
||||
|
||||
##
|
||||
# @rtc-reset-reinjection:
|
||||
#
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
##
|
||||
|
||||
{ 'include': 'common.json' }
|
||||
{ 'include': 'crypto.json' }
|
||||
{ 'include': 'sockets.json' }
|
||||
|
||||
##
|
||||
|
|
|
@ -131,6 +131,20 @@
|
|||
##
|
||||
{ 'command': 'query-commands', 'returns': ['CommandInfo'] }
|
||||
|
||||
##
|
||||
# @IoOperationType:
|
||||
#
|
||||
# An enumeration of the I/O operation types
|
||||
#
|
||||
# @read: read operation
|
||||
#
|
||||
# @write: write operation
|
||||
#
|
||||
# Since: 2.1
|
||||
##
|
||||
{ 'enum': 'IoOperationType',
|
||||
'data': [ 'read', 'write' ] }
|
||||
|
||||
##
|
||||
# @OnOffAuto:
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue