Revision 5eeee3fa qapi-schema.json
b/qapi-schema.json | ||
---|---|---|
1549 | 1549 |
# Since: 1.1 |
1550 | 1550 |
## |
1551 | 1551 |
{ 'command': 'block_job_cancel', 'data': { 'device': 'str' } } |
1552 |
|
|
1553 |
## |
|
1554 |
# @ObjectTypeInfo: |
|
1555 |
# |
|
1556 |
# This structure describes a search result from @qom-list-types |
|
1557 |
# |
|
1558 |
# @name: the type name found in the search |
|
1559 |
# |
|
1560 |
# Since: 1.1 |
|
1561 |
# |
|
1562 |
# Notes: This command is experimental and may change syntax in future releases. |
|
1563 |
## |
|
1564 |
{ 'type': 'ObjectTypeInfo', |
|
1565 |
'data': { 'name': 'str' } } |
|
1566 |
|
|
1567 |
## |
|
1568 |
# @qom-list-types: |
|
1569 |
# |
|
1570 |
# This command will return a list of types given search parameters |
|
1571 |
# |
|
1572 |
# @implements: if specified, only return types that implement this type name |
|
1573 |
# |
|
1574 |
# @abstract: if true, include abstract types in the results |
|
1575 |
# |
|
1576 |
# Returns: a list of @ObjectTypeInfo or an empty list if no results are found |
|
1577 |
# |
|
1578 |
# Since: 1.1 |
|
1579 |
# |
|
1580 |
# Notes: This command is experimental and may change syntax in future releases. |
|
1581 |
## |
|
1582 |
{ 'command': 'qom-list-types', |
|
1583 |
'data': { '*implements': 'str', '*abstract': 'bool' }, |
|
1584 |
'returns': [ 'ObjectTypeInfo' ] } |
Also available in: Unified diff