/* convert qapi-schema.json to a string table */ struct qmp_schem { const char *json_string; const char *type; const char *name; } qmp_schema_table[] = { {"{ 'enum': 'ErrorClass', \ 'data': [ 'GenericError', 'CommandNotFound', 'DeviceEncrypted', \ 'DeviceNotActive', 'DeviceNotFound', 'KVMMissingCap' ] }", "enum", "ErrorClass"}, {"{ 'command': 'add_client', \ 'data': { 'protocol': 'str', 'fdname': 'str', '*skipauth': 'bool', \ '*tls': 'bool' } }", "command", "add_client"}, {"{ 'type': 'NameInfo', 'data': {'*name': 'str'} }", "type", "NameInfo"}, {"{ 'command': 'query-name', 'returns': 'NameInfo' }", "command", "query-name"}, {"{ 'type': 'VersionInfo', \ 'data': {'qemu': {'major': 'int', 'minor': 'int', 'micro': 'int'}, \ 'package': 'str'} }", "type", "VersionInfo"}, {"{ 'command': 'query-version', 'returns': 'VersionInfo' }", "command", "query-version"}, {"{ 'type': 'KvmInfo', 'data': {'enabled': 'bool', 'present': 'bool'} }", "type", "KvmInfo"}, {"{ 'command': 'query-kvm', 'returns': 'KvmInfo' }", "command", "query-kvm"}, {"{ 'enum': 'RunState', \ 'data': [ 'debug', 'inmigrate', 'internal-error', 'io-error', 'paused', \ 'postmigrate', 'prelaunch', 'finish-migrate', 'restore-vm', \ 'running', 'save-vm', 'shutdown', 'suspended', 'watchdog', \ 'guest-panicked' ] }", "enum", "RunState"}, {"{ 'type': 'SnapshotInfo', \ 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int', \ 'date-sec': 'int', 'date-nsec': 'int', \ 'vm-clock-sec': 'int', 'vm-clock-nsec': 'int' } }", "type", "SnapshotInfo"}, {"{ 'type': 'ImageInfo', \ 'data': {'filename': 'str', 'format': 'str', '*dirty-flag': 'bool', \ '*actual-size': 'int', 'virtual-size': 'int', \ '*cluster-size': 'int', '*encrypted': 'bool', \ '*backing-filename': 'str', '*full-backing-filename': 'str', \ '*backing-filename-format': 'str', '*snapshots': ['SnapshotInfo'] } }", "type", "ImageInfo"}, {"{ 'type': 'ImageCheck', \ 'data': {'filename': 'str', 'format': 'str', 'check-errors': 'int', \ '*image-end-offset': 'int', '*corruptions': 'int', '*leaks': 'int', \ '*corruptions-fixed': 'int', '*leaks-fixed': 'int', \ '*total-clusters': 'int', '*allocated-clusters': 'int', \ '*fragmented-clusters': 'int', '*compressed-clusters': 'int' } }", "type", "ImageCheck"}, {"{ 'type': 'StatusInfo', \ 'data': {'running': 'bool', 'singlestep': 'bool', 'status': 'RunState'} }", "type", "StatusInfo"}, {"{ 'command': 'query-status', 'returns': 'StatusInfo' }", "command", "query-status"}, {"{ 'type': 'UuidInfo', 'data': {'UUID': 'str'} }", "type", "UuidInfo"}, {"{ 'command': 'query-uuid', 'returns': 'UuidInfo' }", "command", "query-uuid"}, {"{ 'type': 'ChardevInfo', 'data': {'label': 'str', 'filename': 'str'} }", "type", "ChardevInfo"}, {"{ 'command': 'query-chardev', 'returns': ['ChardevInfo'] }", "command", "query-chardev"}, {"{ 'enum': 'DataFormat' \ 'data': [ 'utf8', 'base64' ] }", "enum", "DataFormat"}, {"{ 'command': 'ringbuf-write', \ 'data': {'device': 'str', 'data': 'str', \ '*format': 'DataFormat'} }", "command", "ringbuf-write"}, {"{ 'command': 'ringbuf-read', \ 'data': {'device': 'str', 'size': 'int', '*format': 'DataFormat'}, \ 'returns': 'str' }", "command", "ringbuf-read"}, {"{ 'type': 'CommandInfo', 'data': {'name': 'str'} }", "type", "CommandInfo"}, {"{ 'command': 'query-commands', 'returns': ['CommandInfo'] }", "command", "query-commands"}, {"{ 'type': 'EventInfo', 'data': {'name': 'str'} }", "type", "EventInfo"}, {"{ 'command': 'query-events', 'returns': ['EventInfo'] }", "command", "query-events"}, {"{ 'type': 'MigrationStats', \ 'data': {'transferred': 'int', 'remaining': 'int', 'total': 'int' , \ 'duplicate': 'int', 'skipped': 'int', 'normal': 'int', \ 'normal-bytes': 'int', 'dirty-pages-rate' : 'int' } }", "type", "MigrationStats"}, {"{ 'type': 'XBZRLECacheStats', \ 'data': {'cache-size': 'int', 'bytes': 'int', 'pages': 'int', \ 'cache-miss': 'int', 'overflow': 'int' } }", "type", "XBZRLECacheStats"}, {"{ 'type': 'MigrationInfo', \ 'data': {'*status': 'str', '*ram': 'MigrationStats', \ '*disk': 'MigrationStats', \ '*xbzrle-cache': 'XBZRLECacheStats', \ '*total-time': 'int', \ '*expected-downtime': 'int', \ '*downtime': 'int'} }", "type", "MigrationInfo"}, {"{ 'command': 'query-migrate', 'returns': 'MigrationInfo' }", "command", "query-migrate"}, {"{ 'enum': 'MigrationCapability', \ 'data': ['xbzrle'] }", "enum", "MigrationCapability"}, {"{ 'type': 'MigrationCapabilityStatus', \ 'data': { 'capability' : 'MigrationCapability', 'state' : 'bool' } }", "type", "MigrationCapabilityStatus"}, {"{ 'command': 'migrate-set-capabilities', \ 'data': { 'capabilities': ['MigrationCapabilityStatus'] } }", "command", "migrate-set-capabilities"}, {"{ 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapabilityStatus']}", "command", "query-migrate-capabilities"}, {"{ 'type': 'MouseInfo', \ 'data': {'name': 'str', 'index': 'int', 'current': 'bool', \ 'absolute': 'bool'} }", "type", "MouseInfo"}, {"{ 'command': 'query-mice', 'returns': ['MouseInfo'] }", "command", "query-mice"}, {"{ 'type': 'CpuInfo', \ 'data': {'CPU': 'int', 'current': 'bool', 'halted': 'bool', '*pc': 'int', \ '*nip': 'int', '*npc': 'int', '*PC': 'int', 'thread_id': 'int'} }", "type", "CpuInfo"}, {"{ 'command': 'query-cpus', 'returns': ['CpuInfo'] }", "command", "query-cpus"}, {"{ 'type': 'BlockDeviceInfo', \ 'data': { 'file': 'str', 'ro': 'bool', 'drv': 'str', \ '*backing_file': 'str', 'backing_file_depth': 'int', \ 'encrypted': 'bool', 'encryption_key_missing': 'bool', \ 'bps': 'int', 'bps_rd': 'int', 'bps_wr': 'int', \ 'iops': 'int', 'iops_rd': 'int', 'iops_wr': 'int'} }", "type", "BlockDeviceInfo"}, {"{ 'enum': 'BlockDeviceIoStatus', 'data': [ 'ok', 'failed', 'nospace' ] }", "enum", "BlockDeviceIoStatus"}, {"{ 'type': 'BlockDirtyInfo', \ 'data': {'count': 'int', 'granularity': 'int'} }", "type", "BlockDirtyInfo"}, {"{ 'type': 'BlockInfo', \ 'data': {'device': 'str', 'type': 'str', 'removable': 'bool', \ 'locked': 'bool', '*inserted': 'BlockDeviceInfo', \ '*tray_open': 'bool', '*io-status': 'BlockDeviceIoStatus', \ '*dirty': 'BlockDirtyInfo' } }", "type", "BlockInfo"}, {"{ 'command': 'query-block', 'returns': ['BlockInfo'] }", "command", "query-block"}, {"{ 'type': 'BlockDeviceStats', \ 'data': {'rd_bytes': 'int', 'wr_bytes': 'int', 'rd_operations': 'int', \ 'wr_operations': 'int', 'flush_operations': 'int', \ 'flush_total_time_ns': 'int', 'wr_total_time_ns': 'int', \ 'rd_total_time_ns': 'int', 'wr_highest_offset': 'int' } }", "type", "BlockDeviceStats"}, {"{ 'type': 'BlockStats', \ 'data': {'*device': 'str', 'stats': 'BlockDeviceStats', \ '*parent': 'BlockStats'} }", "type", "BlockStats"}, {"{ 'command': 'query-blockstats', 'returns': ['BlockStats'] }", "command", "query-blockstats"}, {"{ 'type': 'VncClientInfo', \ 'data': {'host': 'str', 'family': 'str', 'service': 'str', \ '*x509_dname': 'str', '*sasl_username': 'str'} }", "type", "VncClientInfo"}, {"{ 'type': 'VncInfo', \ 'data': {'enabled': 'bool', '*host': 'str', '*family': 'str', \ '*service': 'str', '*auth': 'str', '*clients': ['VncClientInfo']} }", "type", "VncInfo"}, {"{ 'command': 'query-vnc', 'returns': 'VncInfo' }", "command", "query-vnc"}, {"{ 'type': 'SpiceChannel', \ 'data': {'host': 'str', 'family': 'str', 'port': 'str', \ 'connection-id': 'int', 'channel-type': 'int', 'channel-id': 'int', \ 'tls': 'bool'} }", "type", "SpiceChannel"}, {"{ 'enum': 'SpiceQueryMouseMode', \ 'data': [ 'client', 'server', 'unknown' ] }", "enum", "SpiceQueryMouseMode"}, {"{ 'type': 'SpiceInfo', \ 'data': {'enabled': 'bool', 'migrated': 'bool', '*host': 'str', '*port': 'int', \ '*tls-port': 'int', '*auth': 'str', '*compiled-version': 'str', \ 'mouse-mode': 'SpiceQueryMouseMode', '*channels': ['SpiceChannel']} }", "type", "SpiceInfo"}, {"{ 'command': 'query-spice', 'returns': 'SpiceInfo' }", "command", "query-spice"}, {"{ 'type': 'BalloonInfo', 'data': {'actual': 'int' } }", "type", "BalloonInfo"}, {"{ 'command': 'query-balloon', 'returns': 'BalloonInfo' }", "command", "query-balloon"}, {"{ 'type': 'PciMemoryRange', 'data': {'base': 'int', 'limit': 'int'} }", "type", "PciMemoryRange"}, {"{ 'type': 'PciMemoryRegion', \ 'data': {'bar': 'int', 'type': 'str', 'address': 'int', 'size': 'int', \ '*prefetch': 'bool', '*mem_type_64': 'bool' } }", "type", "PciMemoryRegion"}, {"{ 'type': 'PciBridgeInfo', \ 'data': {'bus': { 'number': 'int', 'secondary': 'int', 'subordinate': 'int', \ 'io_range': 'PciMemoryRange', \ 'memory_range': 'PciMemoryRange', \ 'prefetchable_range': 'PciMemoryRange' }, \ '*devices': ['PciDeviceInfo']} }", "type", "PciBridgeInfo"}, {"{ 'type': 'PciDeviceInfo', \ 'data': {'bus': 'int', 'slot': 'int', 'function': 'int', \ 'class_info': {'*desc': 'str', 'class': 'int'}, \ 'id': {'device': 'int', 'vendor': 'int'}, \ '*irq': 'int', 'qdev_id': 'str', '*pci_bridge': 'PciBridgeInfo', \ 'regions': ['PciMemoryRegion']} }", "type", "PciDeviceInfo"}, {"{ 'type': 'PciInfo', 'data': {'bus': 'int', 'devices': ['PciDeviceInfo']} }", "type", "PciInfo"}, {"{ 'command': 'query-pci', 'returns': ['PciInfo'] }", "command", "query-pci"}, {"{ 'enum': 'BlockdevOnError', \ 'data': ['report', 'ignore', 'enospc', 'stop'] }", "enum", "BlockdevOnError"}, {"{ 'enum': 'MirrorSyncMode', \ 'data': ['top', 'full', 'none'] }", "enum", "MirrorSyncMode"}, {"{ 'type': 'BlockJobInfo', \ 'data': {'type': 'str', 'device': 'str', 'len': 'int', \ 'offset': 'int', 'busy': 'bool', 'paused': 'bool', 'speed': 'int', \ 'io-status': 'BlockDeviceIoStatus'} }", "type", "BlockJobInfo"}, {"{ 'command': 'query-block-jobs', 'returns': ['BlockJobInfo'] }", "command", "query-block-jobs"}, {"{ 'command': 'quit' }", "command", "quit"}, {"{ 'command': 'stop' }", "command", "stop"}, {"{ 'command': 'system_reset' }", "command", "system_reset"}, {"{ 'command': 'system_powerdown' }", "command", "system_powerdown"}, {"{ 'command': 'cpu', 'data': {'index': 'int'} }", "command", "cpu"}, {"{ 'command': 'cpu-add', 'data': {'id': 'int'} }", "command", "cpu-add"}, {"{ 'command': 'memsave', \ 'data': {'val': 'int', 'size': 'int', 'filename': 'str', '*cpu-index': 'int'} }", "command", "memsave"}, {"{ 'command': 'pmemsave', \ 'data': {'val': 'int', 'size': 'int', 'filename': 'str'} }", "command", "pmemsave"}, {"{ 'command': 'cont' }", "command", "cont"}, {"{ 'command': 'system_wakeup' }", "command", "system_wakeup"}, {"{ 'command': 'inject-nmi' }", "command", "inject-nmi"}, {"{ 'command': 'set_link', 'data': {'name': 'str', 'up': 'bool'} }", "command", "set_link"}, {"{ 'command': 'block_passwd', 'data': {'device': 'str', 'password': 'str'} }", "command", "block_passwd"}, {"{ 'command': 'balloon', 'data': {'value': 'int'} }", "command", "balloon"}, {"{ 'command': 'block_resize', 'data': { 'device': 'str', 'size': 'int' }}", "command", "block_resize"}, {"{ 'enum': 'NewImageMode' \ 'data': [ 'existing', 'absolute-paths' ] }", "enum", "NewImageMode"}, {"{ 'type': 'BlockdevSnapshot', \ 'data': { 'device': 'str', 'snapshot-file': 'str', '*format': 'str', \ '*mode': 'NewImageMode' } }", "type", "BlockdevSnapshot"}, {"{ 'union': 'TransactionAction', \ 'data': { \ 'blockdev-snapshot-sync': 'BlockdevSnapshot' \ } }", "union", "TransactionAction"}, {"{ 'command': 'transaction', \ 'data': { 'actions': [ 'TransactionAction' ] } }", "command", "transaction"}, {"{ 'command': 'blockdev-snapshot-sync', \ 'data': { 'device': 'str', 'snapshot-file': 'str', '*format': 'str', \ '*mode': 'NewImageMode'} }", "command", "blockdev-snapshot-sync"}, {"{ 'command': 'human-monitor-command', \ 'data': {'command-line': 'str', '*cpu-index': 'int'}, \ 'returns': 'str' }", "command", "human-monitor-command"}, {"{ 'command': 'block-commit', \ 'data': { 'device': 'str', '*base': 'str', 'top': 'str', \ '*speed': 'int' } }", "command", "block-commit"}, {"{ 'command': 'drive-mirror', \ 'data': { 'device': 'str', 'target': 'str', '*format': 'str', \ 'sync': 'MirrorSyncMode', '*mode': 'NewImageMode', \ '*speed': 'int', '*granularity': 'uint32', \ '*buf-size': 'int', '*on-source-error': 'BlockdevOnError', \ '*on-target-error': 'BlockdevOnError' } }", "command", "drive-mirror"}, {"{ 'command': 'migrate_cancel' }", "command", "migrate_cancel"}, {"{ 'command': 'migrate_set_downtime', 'data': {'value': 'number'} }", "command", "migrate_set_downtime"}, {"{ 'command': 'migrate_set_speed', 'data': {'value': 'int'} }", "command", "migrate_set_speed"}, {"{ 'command': 'migrate-set-cache-size', 'data': {'value': 'int'} }", "command", "migrate-set-cache-size"}, {"{ 'command': 'query-migrate-cache-size', 'returns': 'int' }", "command", "query-migrate-cache-size"}, {"{ 'type': 'ObjectPropertyInfo', \ 'data': { 'name': 'str', 'type': 'str' } }", "type", "ObjectPropertyInfo"}, {"{ 'command': 'qom-list', \ 'data': { 'path': 'str' }, \ 'returns': [ 'ObjectPropertyInfo' ] }", "command", "qom-list"}, {"{ 'command': 'qom-get', \ 'data': { 'path': 'str', 'property': 'str' }, \ 'returns': 'visitor', \ 'gen': 'no' }", "command", "qom-get"}, {"{ 'command': 'qom-set', \ 'data': { 'path': 'str', 'property': 'str', 'value': 'visitor' }, \ 'gen': 'no' }", "command", "qom-set"}, {"{ 'command': 'set_password', \ 'data': {'protocol': 'str', 'password': 'str', '*connected': 'str'} }", "command", "set_password"}, {"{ 'command': 'expire_password', 'data': {'protocol': 'str', 'time': 'str'} }", "command", "expire_password"}, {"{ 'command': 'eject', 'data': {'device': 'str', '*force': 'bool'} }", "command", "eject"}, {"{ 'command': 'change-vnc-password', 'data': {'password': 'str'} }", "command", "change-vnc-password"}, {"{ 'command': 'change', \ 'data': {'device': 'str', 'target': 'str', '*arg': 'str'} }", "command", "change"}, {"{ 'command': 'block_set_io_throttle', \ 'data': { 'device': 'str', 'bps': 'int', 'bps_rd': 'int', 'bps_wr': 'int', \ 'iops': 'int', 'iops_rd': 'int', 'iops_wr': 'int' } }", "command", "block_set_io_throttle"}, {"{ 'command': 'block-stream', \ 'data': { 'device': 'str', '*base': 'str', '*speed': 'int', \ '*on-error': 'BlockdevOnError' } }", "command", "block-stream"}, {"{ 'command': 'block-job-set-speed', \ 'data': { 'device': 'str', 'speed': 'int' } }", "command", "block-job-set-speed"}, {"{ 'command': 'block-job-cancel', 'data': { 'device': 'str', '*force': 'bool' } }", "command", "block-job-cancel"}, {"{ 'command': 'block-job-pause', 'data': { 'device': 'str' } }", "command", "block-job-pause"}, {"{ 'command': 'block-job-resume', 'data': { 'device': 'str' } }", "command", "block-job-resume"}, {"{ 'command': 'block-job-complete', 'data': { 'device': 'str' } }", "command", "block-job-complete"}, {"{ 'type': 'ObjectTypeInfo', \ 'data': { 'name': 'str' } }", "type", "ObjectTypeInfo"}, {"{ 'command': 'qom-list-types', \ 'data': { '*implements': 'str', '*abstract': 'bool' }, \ 'returns': [ 'ObjectTypeInfo' ] }", "command", "qom-list-types"}, {"{ 'type': 'DevicePropertyInfo', \ 'data': { 'name': 'str', 'type': 'str' } }", "type", "DevicePropertyInfo"}, {"{ 'command': 'device-list-properties', \ 'data': { 'typename': 'str'}, \ 'returns': [ 'DevicePropertyInfo' ] }", "command", "device-list-properties"}, {"{ 'command': 'migrate', \ 'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool', '*detach': 'bool' } }", "command", "migrate"}, {"{ 'command': 'xen-save-devices-state', 'data': {'filename': 'str'} }", "command", "xen-save-devices-state"}, {"{ 'command': 'xen-set-global-dirty-log', 'data': { 'enable': 'bool' } }", "command", "xen-set-global-dirty-log"}, {"{ 'command': 'device_del', 'data': {'id': 'str'} }", "command", "device_del"}, {"{ 'command': 'dump-guest-memory', \ 'data': { 'paging': 'bool', 'protocol': 'str', '*begin': 'int', \ '*length': 'int' } }", "command", "dump-guest-memory"}, {"{ 'command': 'netdev_add', \ 'data': {'type': 'str', 'id': 'str', '*props': '**'}, \ 'gen': 'no' }", "command", "netdev_add"}, {"{ 'command': 'netdev_del', 'data': {'id': 'str'} }", "command", "netdev_del"}, {"{ 'type': 'NetdevNoneOptions', \ 'data': { } }", "type", "NetdevNoneOptions"}, {"{ 'type': 'NetLegacyNicOptions', \ 'data': { \ '*netdev': 'str', \ '*macaddr': 'str', \ '*model': 'str', \ '*addr': 'str', \ '*vectors': 'uint32' } }", "type", "NetLegacyNicOptions"}, {"{ 'type': 'String', \ 'data': { \ 'str': 'str' } }", "type", "String"}, {"{ 'type': 'NetdevUserOptions', \ 'data': { \ '*hostname': 'str', \ '*restrict': 'bool', \ '*ip': 'str', \ '*net': 'str', \ '*host': 'str', \ '*tftp': 'str', \ '*bootfile': 'str', \ '*dhcpstart': 'str', \ '*dns': 'str', \ '*dnssearch': ['String'], \ '*smb': 'str', \ '*smbserver': 'str', \ '*hostfwd': ['String'], \ '*guestfwd': ['String'] } }", "type", "NetdevUserOptions"}, {"{ 'type': 'NetdevTapOptions', \ 'data': { \ '*ifname': 'str', \ '*fd': 'str', \ '*fds': 'str', \ '*script': 'str', \ '*downscript': 'str', \ '*helper': 'str', \ '*sndbuf': 'size', \ '*vnet_hdr': 'bool', \ '*vhost': 'bool', \ '*vhostfd': 'str', \ '*vhostfds': 'str', \ '*vhostforce': 'bool', \ '*queues': 'uint32'} }", "type", "NetdevTapOptions"}, {"{ 'type': 'NetdevSocketOptions', \ 'data': { \ '*fd': 'str', \ '*listen': 'str', \ '*connect': 'str', \ '*mcast': 'str', \ '*localaddr': 'str', \ '*udp': 'str' } }", "type", "NetdevSocketOptions"}, {"{ 'type': 'NetdevVdeOptions', \ 'data': { \ '*sock': 'str', \ '*port': 'uint16', \ '*group': 'str', \ '*mode': 'uint16' } }", "type", "NetdevVdeOptions"}, {"{ 'type': 'NetdevDumpOptions', \ 'data': { \ '*len': 'size', \ '*file': 'str' } }", "type", "NetdevDumpOptions"}, {"{ 'type': 'NetdevBridgeOptions', \ 'data': { \ '*br': 'str', \ '*helper': 'str' } }", "type", "NetdevBridgeOptions"}, {"{ 'type': 'NetdevHubPortOptions', \ 'data': { \ 'hubid': 'int32' } }", "type", "NetdevHubPortOptions"}, {"{ 'union': 'NetClientOptions', \ 'data': { \ 'none': 'NetdevNoneOptions', \ 'nic': 'NetLegacyNicOptions', \ 'user': 'NetdevUserOptions', \ 'tap': 'NetdevTapOptions', \ 'socket': 'NetdevSocketOptions', \ 'vde': 'NetdevVdeOptions', \ 'dump': 'NetdevDumpOptions', \ 'bridge': 'NetdevBridgeOptions', \ 'hubport': 'NetdevHubPortOptions' } }", "union", "NetClientOptions"}, {"{ 'type': 'NetLegacy', \ 'data': { \ '*vlan': 'int32', \ '*id': 'str', \ '*name': 'str', \ 'opts': 'NetClientOptions' } }", "type", "NetLegacy"}, {"{ 'type': 'Netdev', \ 'data': { \ 'id': 'str', \ 'opts': 'NetClientOptions' } }", "type", "Netdev"}, {"{ 'type': 'InetSocketAddress', \ 'data': { \ 'host': 'str', \ 'port': 'str', \ '*to': 'uint16', \ '*ipv4': 'bool', \ '*ipv6': 'bool' } }", "type", "InetSocketAddress"}, {"{ 'type': 'UnixSocketAddress', \ 'data': { \ 'path': 'str' } }", "type", "UnixSocketAddress"}, {"{ 'union': 'SocketAddress', \ 'data': { \ 'inet': 'InetSocketAddress', \ 'unix': 'UnixSocketAddress', \ 'fd': 'String' } }", "union", "SocketAddress"}, {"{ 'command': 'getfd', 'data': {'fdname': 'str'} }", "command", "getfd"}, {"{ 'command': 'closefd', 'data': {'fdname': 'str'} }", "command", "closefd"}, {"{ 'type': 'MachineInfo', \ 'data': { 'name': 'str', '*alias': 'str', \ '*is-default': 'bool', 'cpu-max': 'int' } }", "type", "MachineInfo"}, {"{ 'command': 'query-machines', 'returns': ['MachineInfo'] }", "command", "query-machines"}, {"{ 'type': 'CpuDefinitionInfo', \ 'data': { 'name': 'str' } }", "type", "CpuDefinitionInfo"}, {"{ 'command': 'query-cpu-definitions', 'returns': ['CpuDefinitionInfo'] }", "command", "query-cpu-definitions"}, {"{ 'type': 'AddfdInfo', 'data': {'fdset-id': 'int', 'fd': 'int'} }", "type", "AddfdInfo"}, {"{ 'command': 'add-fd', 'data': {'*fdset-id': 'int', '*opaque': 'str'}, \ 'returns': 'AddfdInfo' }", "command", "add-fd"}, {"{ 'command': 'remove-fd', 'data': {'fdset-id': 'int', '*fd': 'int'} }", "command", "remove-fd"}, {"{ 'type': 'FdsetFdInfo', \ 'data': {'fd': 'int', '*opaque': 'str'} }", "type", "FdsetFdInfo"}, {"{ 'type': 'FdsetInfo', \ 'data': {'fdset-id': 'int', 'fds': ['FdsetFdInfo']} }", "type", "FdsetInfo"}, {"{ 'command': 'query-fdsets', 'returns': ['FdsetInfo'] }", "command", "query-fdsets"}, {"{ 'enum': 'TargetType', \ 'data': [ 'alpha', 'arm', 'cris', 'i386', 'lm32', 'm68k', 'microblazeel', \ 'microblaze', 'mips64el', 'mips64', 'mipsel', 'mips', 'moxie', \ 'or32', 'ppc64', 'ppcemb', 'ppc', 's390x', 'sh4eb', 'sh4', \ 'sparc64', 'sparc', 'unicore32', 'x86_64', 'xtensaeb', 'xtensa' ] }", "enum", "TargetType"}, {"{ 'type': 'TargetInfo', \ 'data': { 'arch': 'TargetType' } }", "type", "TargetInfo"}, {"{ 'command': 'query-target', 'returns': 'TargetInfo' }", "command", "query-target"}, {"{ 'enum': 'QKeyCode', \ 'data': [ 'shift', 'shift_r', 'alt', 'alt_r', 'altgr', 'altgr_r', 'ctrl', \ 'ctrl_r', 'menu', 'esc', '1', '2', '3', '4', '5', '6', '7', '8', \ '9', '0', 'minus', 'equal', 'backspace', 'tab', 'q', 'w', 'e', \ 'r', 't', 'y', 'u', 'i', 'o', 'p', 'bracket_left', 'bracket_right', \ 'ret', 'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'semicolon', \ 'apostrophe', 'grave_accent', 'backslash', 'z', 'x', 'c', 'v', 'b', \ 'n', 'm', 'comma', 'dot', 'slash', 'asterisk', 'spc', 'caps_lock', \ 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', \ 'num_lock', 'scroll_lock', 'kp_divide', 'kp_multiply', \ 'kp_subtract', 'kp_add', 'kp_enter', 'kp_decimal', 'sysrq', 'kp_0', \ 'kp_1', 'kp_2', 'kp_3', 'kp_4', 'kp_5', 'kp_6', 'kp_7', 'kp_8', \ 'kp_9', 'less', 'f11', 'f12', 'print', 'home', 'pgup', 'pgdn', 'end', \ 'left', 'up', 'down', 'right', 'insert', 'delete', 'stop', 'again', \ 'props', 'undo', 'front', 'copy', 'open', 'paste', 'find', 'cut', \ 'lf', 'help', 'meta_l', 'meta_r', 'compose' ] }", "enum", "QKeyCode"}, {"{ 'union': 'KeyValue', \ 'data': { \ 'number': 'int', \ 'qcode': 'QKeyCode' } }", "union", "KeyValue"}, {"{ 'command': 'send-key', \ 'data': { 'keys': ['KeyValue'], '*hold-time': 'int' } }", "command", "send-key"}, {"{ 'command': 'screendump', 'data': {'filename': 'str'} }", "command", "screendump"}, {"{ 'command': 'nbd-server-start', \ 'data': { 'addr': 'SocketAddress' } }", "command", "nbd-server-start"}, {"{ 'command': 'nbd-server-add', 'data': {'device': 'str', '*writable': 'bool'} }", "command", "nbd-server-add"}, {"{ 'command': 'nbd-server-stop' }", "command", "nbd-server-stop"}, {"{ 'type': 'ChardevFile', 'data': { '*in' : 'str', \ 'out' : 'str' } }", "type", "ChardevFile"}, {"{ 'type': 'ChardevHostdev', 'data': { 'device' : 'str' } }", "type", "ChardevHostdev"}, {"{ 'type': 'ChardevSocket', 'data': { 'addr' : 'SocketAddress', \ '*server' : 'bool', \ '*wait' : 'bool', \ '*nodelay' : 'bool', \ '*telnet' : 'bool' } }", "type", "ChardevSocket"}, {"{ 'type': 'ChardevUdp', 'data': { 'remote' : 'SocketAddress', \ '*local' : 'SocketAddress' } }", "type", "ChardevUdp"}, {"{ 'type': 'ChardevMux', 'data': { 'chardev' : 'str' } }", "type", "ChardevMux"}, {"{ 'type': 'ChardevStdio', 'data': { '*signal' : 'bool' } }", "type", "ChardevStdio"}, {"{ 'type': 'ChardevSpiceChannel', 'data': { 'type' : 'str' } }", "type", "ChardevSpiceChannel"}, {"{ 'type': 'ChardevSpicePort', 'data': { 'fqdn' : 'str' } }", "type", "ChardevSpicePort"}, {"{ 'type': 'ChardevVC', 'data': { '*width' : 'int', \ '*height' : 'int', \ '*cols' : 'int', \ '*rows' : 'int' } }", "type", "ChardevVC"}, {"{ 'type': 'ChardevMemory', 'data': { '*size' : 'int' } }", "type", "ChardevMemory"}, {"{ 'type': 'ChardevDummy', 'data': { } }", "type", "ChardevDummy"}, {"{ 'union': 'ChardevBackend', 'data': { 'file' : 'ChardevFile', \ 'serial' : 'ChardevHostdev', \ 'parallel': 'ChardevHostdev', \ 'pipe' : 'ChardevHostdev', \ 'socket' : 'ChardevSocket', \ 'udp' : 'ChardevUdp', \ 'pty' : 'ChardevDummy', \ 'null' : 'ChardevDummy', \ 'mux' : 'ChardevMux', \ 'msmouse': 'ChardevDummy', \ 'braille': 'ChardevDummy', \ 'stdio' : 'ChardevStdio', \ 'console': 'ChardevDummy', \ 'spicevmc' : 'ChardevSpiceChannel', \ 'spiceport' : 'ChardevSpicePort', \ 'vc' : 'ChardevVC', \ 'memory' : 'ChardevMemory' } }", "union", "ChardevBackend"}, {"{ 'type' : 'ChardevReturn', 'data': { '*pty' : 'str' } }", "type", "ChardevReturn"}, {"{ 'command': 'chardev-add', 'data': {'id' : 'str', \ 'backend' : 'ChardevBackend' }, \ 'returns': 'ChardevReturn' }", "command", "chardev-add"}, {"{ 'command': 'chardev-remove', 'data': {'id': 'str'} }", "command", "chardev-remove"}, {"{ 'enum': 'TpmModel', 'data': [ 'tpm-tis' ] }", "enum", "TpmModel"}, {"{ 'command': 'query-tpm-models', 'returns': ['TpmModel'] }", "command", "query-tpm-models"}, {"{ 'enum': 'TpmType', 'data': [ 'passthrough' ] }", "enum", "TpmType"}, {"{ 'command': 'query-tpm-types', 'returns': ['TpmType'] }", "command", "query-tpm-types"}, {"{ 'type': 'TPMPassthroughOptions', 'data': { '*path' : 'str', \ '*cancel-path' : 'str'} }", "type", "TPMPassthroughOptions"}, {"{ 'union': 'TpmTypeOptions', \ 'data': { 'passthrough' : 'TPMPassthroughOptions' } }", "union", "TpmTypeOptions"}, {"{ 'type': 'TPMInfo', \ 'data': {'id': 'str', \ 'model': 'TpmModel', \ 'options': 'TpmTypeOptions' } }", "type", "TPMInfo"}, {"{ 'command': 'query-tpm', 'returns': ['TPMInfo'] }", "command", "query-tpm"}, {"{ 'type': 'AcpiTableOptions', \ 'data': { \ '*sig': 'str', \ '*rev': 'uint8', \ '*oem_id': 'str', \ '*oem_table_id': 'str', \ '*oem_rev': 'uint32', \ '*asl_compiler_id': 'str', \ '*asl_compiler_rev': 'uint32', \ '*file': 'str', \ '*data': 'str' }}", "type", "AcpiTableOptions"}, {"{ 'enum': 'CommandLineParameterType', \ 'data': ['string', 'boolean', 'number', 'size'] }", "enum", "CommandLineParameterType"}, {"{ 'type': 'CommandLineParameterInfo', \ 'data': { 'name': 'str', \ 'type': 'CommandLineParameterType', \ '*help': 'str' } }", "type", "CommandLineParameterInfo"}, {"{ 'type': 'CommandLineOptionInfo', \ 'data': { 'option': 'str', 'parameters': ['CommandLineParameterInfo'] } }", "type", "CommandLineOptionInfo"}, {"{'command': 'query-command-line-options', 'data': { '*option': 'str' }, \ 'returns': ['CommandLineOptionInfo'] }", "command", "query-command-line-options"}, {"{ 'enum': 'X86CPURegister32', \ 'data': [ 'EAX', 'EBX', 'ECX', 'EDX', 'ESP', 'EBP', 'ESI', 'EDI' ] }", "enum", "X86CPURegister32"}, {"{ 'type': 'X86CPUFeatureWordInfo', \ 'data': { 'cpuid-input-eax': 'int', \ '*cpuid-input-ecx': 'int', \ 'cpuid-register': 'X86CPURegister32', \ 'features': 'int' } }", "type", "X86CPUFeatureWordInfo"}, {"{ 'command': 'query-qmp-schema', 'data': { '*type': 'str', '*name': 'str' }, \ 'returns': ['str'] }", "command", "query-qmp-schema"}, {NULL, NULL, NULL } };