From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uktjo-0008DX-Pb for qemu-devel@nongnu.org; Fri, 07 Jun 2013 06:17:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uktjk-0005ai-Rx for qemu-devel@nongnu.org; Fri, 07 Jun 2013 06:17:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uktjk-0005aW-ET for qemu-devel@nongnu.org; Fri, 07 Jun 2013 06:17:36 -0400 Date: Fri, 7 Jun 2013 18:17:26 +0800 From: Amos Kong Message-ID: <20130607101726.GB32546@t430s.nay.redhat.com> References: <20130522134007.GA2051@t430s.nay.redhat.com> <20130607101230.GA32546@t430s.nay.redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ghzN8eJ9Qlbqn3iT" Content-Disposition: inline In-Reply-To: <20130607101230.GA32546@t430s.nay.redhat.com> Subject: Re: [Qemu-devel] RFC: Full introspection support for QMP (with draft patch) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: lcapitulino@redhat.com, qiaonuohan@cn.fujitsu.com, Ronen Hod , aliguori@us.ibm.com, Markus Armbruster --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 07, 2013 at 06:12:30PM +0800, Amos Kong wrote: > Sent out a draft patch in the end of this week. It doesn't support: > * output all stuffs in one shot. > * introspect event > * provide metadata date > > How can we define a dynamic dict in qmp-schema.json ? > > Currently I just output the raw json dict by a string, Libvirt needs > parse two times, convert the string to json format. > > qmp-schema.h: auto generated head file by qapi script > > Attached some examples. > * query-qmp-schema-no-param.txt {'execute': 'query-qmp-schema'} > * query-qmp-schema-filter-by-name.txt {"execute": "query-qmp-schema", "arguments": { "name" : "query-name"}} > * query-qmp-schema-filter-all-command.txt {'execute': 'query-qmp-schema', 'arguments': {'type': 'command'}} > * query-qmp-schema-filter-all-type.txt {'execute': 'query-qmp-schema', 'arguments': {'type': 'type'}} > * query-qmp-schema-filter-all-enum.txt {'execute': 'query-qmp-schema', 'arguments': { 'type': 'enum'}} --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="query-qmp-schema-no-param.txt" Content-Transfer-Encoding: quoted-printable {'execute': 'query-qmp-schema'} { "return": [ "{ 'enum': 'ErrorClass', 'data': [ 'GenericError', 'CommandNotFoun= d', 'DeviceEncrypted', 'DeviceNotActive', 'DeviceNotFound', 'KVMMissingCap= ' ] }",=20 "{ 'command': 'add_client', 'data': { 'protocol': 'str', 'fdname':= 'str', '*skipauth': 'bool', '*tls': 'bool' } }",=20 "{ 'type': 'NameInfo', 'data': {'*name': 'str'} }",=20 "{ 'command': 'query-name', 'returns': 'NameInfo' }",=20 "{ 'type': 'VersionInfo', 'data': {'qemu': {'major': 'int', 'minor= ': 'int', 'micro': 'int'}, 'package': 'str'} }",=20 "{ 'command': 'query-version', 'returns': 'VersionInfo' }",=20 "{ 'type': 'KvmInfo', 'data': {'enabled': 'bool', 'present': 'bool'= } }",=20 "{ 'command': 'query-kvm', 'returns': 'KvmInfo' }",=20 "{ 'enum': 'RunState', 'data': [ 'debug', 'inmigrate', 'internal-e= rror', 'io-error', 'paused', 'postmigrate', 'prelaunch', 'finish-migrate',= 'restore-vm', 'running', 'save-vm', 'shutdown', 'suspended', 'watchdog', = 'guest-panicked' ] }",=20 "{ 'type': 'SnapshotInfo', 'data': { 'id': 'str', 'name': 'str', '= vm-state-size': 'int', 'date-sec': 'int', 'date-nsec': 'int', 'vm-clock-s= ec': 'int', 'vm-clock-nsec': 'int' } }",=20 "{ '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', '*snaps= hots': ['SnapshotInfo'] } }",=20 "{ 'type': 'ImageCheck', 'data': {'filename': 'str', 'format': 'st= r', 'check-errors': 'int', '*image-end-offset': 'int', '*corruptions': 'in= t', '*leaks': 'int', '*corruptions-fixed': 'int', '*leaks-fixed': 'int', = '*total-clusters': 'int', '*allocated-clusters': 'int', '*fragmented-clust= ers': 'int', '*compressed-clusters': 'int' } }",=20 "{ 'type': 'StatusInfo', 'data': {'running': 'bool', 'singlestep':= 'bool', 'status': 'RunState'} }",=20 "{ 'command': 'query-status', 'returns': 'StatusInfo' }",=20 "{ 'type': 'UuidInfo', 'data': {'UUID': 'str'} }",=20 "{ 'command': 'query-uuid', 'returns': 'UuidInfo' }",=20 "{ 'type': 'ChardevInfo', 'data': {'label': 'str', 'filename': 'str= '} }",=20 "{ 'command': 'query-chardev', 'returns': ['ChardevInfo'] }",=20 "{ 'enum': 'DataFormat' 'data': [ 'utf8', 'base64' ] }",=20 "{ 'command': 'ringbuf-write', 'data': {'device': 'str', 'data': '= str', '*format': 'DataFormat'} }",=20 "{ 'command': 'ringbuf-read', 'data': {'device': 'str', 'size': 'i= nt', '*format': 'DataFormat'}, 'returns': 'str' }",=20 "{ 'type': 'CommandInfo', 'data': {'name': 'str'} }",=20 "{ 'command': 'query-commands', 'returns': ['CommandInfo'] }",=20 "{ 'type': 'EventInfo', 'data': {'name': 'str'} }",=20 "{ 'command': 'query-events', 'returns': ['EventInfo'] }",=20 "{ 'type': 'MigrationStats', 'data': {'transferred': 'int', 'remai= ning': 'int', 'total': 'int' , 'duplicate': 'int', 'skipped': 'int', 'norm= al': 'int', 'normal-bytes': 'int', 'dirty-pages-rate' : 'int' } }",=20 "{ 'type': 'XBZRLECacheStats', 'data': {'cache-size': 'int', 'byte= s': 'int', 'pages': 'int', 'cache-miss': 'int', 'overflow': 'int' } }",=20 "{ 'type': 'MigrationInfo', 'data': {'*status': 'str', '*ram': 'Mi= grationStats', '*disk': 'MigrationStats', '*xbzrle-cache': 'XBZRLECacheSt= ats', '*total-time': 'int', '*expected-downtime': 'int', '*downtime': 'i= nt'} }",=20 "{ 'command': 'query-migrate', 'returns': 'MigrationInfo' }",=20 "{ 'enum': 'MigrationCapability', 'data': ['xbzrle'] }",=20 "{ 'type': 'MigrationCapabilityStatus', 'data': { 'capability' : '= MigrationCapability', 'state' : 'bool' } }",=20 "{ 'command': 'migrate-set-capabilities', 'data': { 'capabilities'= : ['MigrationCapabilityStatus'] } }",=20 "{ 'command': 'query-migrate-capabilities', 'returns': ['MigrationC= apabilityStatus']}",=20 "{ 'type': 'MouseInfo', 'data': {'name': 'str', 'index': 'int', 'c= urrent': 'bool', 'absolute': 'bool'} }",=20 "{ 'command': 'query-mice', 'returns': ['MouseInfo'] }",=20 "{ 'type': 'CpuInfo', 'data': {'CPU': 'int', 'current': 'bool', 'h= alted': 'bool', '*pc': 'int', '*nip': 'int', '*npc': 'int', '*PC': 'int', = 'thread_id': 'int'} }",=20 "{ 'command': 'query-cpus', 'returns': ['CpuInfo'] }",=20 "{ 'type': 'BlockDeviceInfo', 'data': { 'file': 'str', 'ro': 'bool= ', 'drv': 'str', '*backing_file': 'str', 'backing_file_depth': 'int', 'en= crypted': 'bool', 'encryption_key_missing': 'bool', 'bps': 'int', 'bps_rd'= : 'int', 'bps_wr': 'int', 'iops': 'int', 'iops_rd': 'int', 'iops_wr': 'int= '} }",=20 "{ 'enum': 'BlockDeviceIoStatus', 'data': [ 'ok', 'failed', 'nospac= e' ] }",=20 "{ 'type': 'BlockDirtyInfo', 'data': {'count': 'int', 'granularity= ': 'int'} }",=20 "{ 'type': 'BlockInfo', 'data': {'device': 'str', 'type': 'str', '= removable': 'bool', 'locked': 'bool', '*inserted': 'BlockDeviceInfo', '*t= ray_open': 'bool', '*io-status': 'BlockDeviceIoStatus', '*dirty': 'BlockDi= rtyInfo' } }",=20 "{ 'command': 'query-block', 'returns': ['BlockInfo'] }",=20 "{ 'type': 'BlockDeviceStats', 'data': {'rd_bytes': 'int', 'wr_byt= es': 'int', 'rd_operations': 'int', 'wr_operations': 'int', 'flush_operati= ons': 'int', 'flush_total_time_ns': 'int', 'wr_total_time_ns': 'int', 'rd= _total_time_ns': 'int', 'wr_highest_offset': 'int' } }",=20 "{ 'type': 'BlockStats', 'data': {'*device': 'str', 'stats': 'Bloc= kDeviceStats', '*parent': 'BlockStats'} }",=20 "{ 'command': 'query-blockstats', 'returns': ['BlockStats'] }",=20 "{ 'type': 'VncClientInfo', 'data': {'host': 'str', 'family': 'str= ', 'service': 'str', '*x509_dname': 'str', '*sasl_username': 'str'} }",=20 "{ 'type': 'VncInfo', 'data': {'enabled': 'bool', '*host': 'str', = '*family': 'str', '*service': 'str', '*auth': 'str', '*clients': ['VncClie= ntInfo']} }",=20 "{ 'command': 'query-vnc', 'returns': 'VncInfo' }",=20 "{ 'type': 'SpiceChannel', 'data': {'host': 'str', 'family': 'str'= , 'port': 'str', 'connection-id': 'int', 'channel-type': 'int', 'channel-i= d': 'int', 'tls': 'bool'} }",=20 "{ 'enum': 'SpiceQueryMouseMode', 'data': [ 'client', 'server', 'u= nknown' ] }",=20 "{ 'type': 'SpiceInfo', 'data': {'enabled': 'bool', 'migrated': 'b= ool', '*host': 'str', '*port': 'int', '*tls-port': 'int', '*auth': 'str', = '*compiled-version': 'str', 'mouse-mode': 'SpiceQueryMouseMode', '*channel= s': ['SpiceChannel']} }",=20 "{ 'command': 'query-spice', 'returns': 'SpiceInfo' }",=20 "{ 'type': 'BalloonInfo', 'data': {'actual': 'int' } }",=20 "{ 'command': 'query-balloon', 'returns': 'BalloonInfo' }",=20 "{ 'type': 'PciMemoryRange', 'data': {'base': 'int', 'limit': 'int'= } }",=20 "{ 'type': 'PciMemoryRegion', 'data': {'bar': 'int', 'type': 'str'= , 'address': 'int', 'size': 'int', '*prefetch': 'bool', '*mem_type_64': 'b= ool' } }",=20 "{ 'type': 'PciBridgeInfo', 'data': {'bus': { 'number': 'int', 'se= condary': 'int', 'subordinate': 'int', 'io_range': 'PciMemoryRange', 'mem= ory_range': 'PciMemoryRange', 'prefetchable_range': 'PciMemoryRange' }, '= *devices': ['PciDeviceInfo']} }",=20 "{ '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']} }",=20 "{ 'type': 'PciInfo', 'data': {'bus': 'int', 'devices': ['PciDevice= Info']} }",=20 "{ 'command': 'query-pci', 'returns': ['PciInfo'] }",=20 "{ 'enum': 'BlockdevOnError', 'data': ['report', 'ignore', 'enospc= ', 'stop'] }",=20 "{ 'enum': 'MirrorSyncMode', 'data': ['top', 'full', 'none'] }",= =20 "{ 'type': 'BlockJobInfo', 'data': {'type': 'str', 'device': 'str'= , 'len': 'int', 'offset': 'int', 'busy': 'bool', 'paused': 'bool', 'speed'= : 'int', 'io-status': 'BlockDeviceIoStatus'} }",=20 "{ 'command': 'query-block-jobs', 'returns': ['BlockJobInfo'] }",= =20 "{ 'command': 'quit' }",=20 "{ 'command': 'stop' }",=20 "{ 'command': 'system_reset' }",=20 "{ 'command': 'system_powerdown' }",=20 "{ 'command': 'cpu', 'data': {'index': 'int'} }",=20 "{ 'command': 'cpu-add', 'data': {'id': 'int'} }",=20 "{ 'command': 'memsave', 'data': {'val': 'int', 'size': 'int', 'fi= lename': 'str', '*cpu-index': 'int'} }",=20 "{ 'command': 'pmemsave', 'data': {'val': 'int', 'size': 'int', 'f= ilename': 'str'} }",=20 "{ 'command': 'cont' }",=20 "{ 'command': 'system_wakeup' }",=20 "{ 'command': 'inject-nmi' }",=20 "{ 'command': 'set_link', 'data': {'name': 'str', 'up': 'bool'} }",= =20 "{ 'command': 'block_passwd', 'data': {'device': 'str', 'password':= 'str'} }",=20 "{ 'command': 'balloon', 'data': {'value': 'int'} }",=20 "{ 'command': 'block_resize', 'data': { 'device': 'str', 'size': 'i= nt' }}",=20 "{ 'enum': 'NewImageMode' 'data': [ 'existing', 'absolute-paths' ]= }",=20 "{ 'type': 'BlockdevSnapshot', 'data': { 'device': 'str', 'snapsho= t-file': 'str', '*format': 'str', '*mode': 'NewImageMode' } }",=20 "{ 'union': 'TransactionAction', 'data': { 'blockdev-snapshot-syn= c': 'BlockdevSnapshot' } }",=20 "{ 'command': 'transaction', 'data': { 'actions': [ 'TransactionAc= tion' ] } }",=20 "{ 'command': 'blockdev-snapshot-sync', 'data': { 'device': 'str',= 'snapshot-file': 'str', '*format': 'str', '*mode': 'NewImageMode'} }",=20 "{ 'command': 'human-monitor-command', 'data': {'command-line': 's= tr', '*cpu-index': 'int'}, 'returns': 'str' }",=20 "{ 'command': 'block-commit', 'data': { 'device': 'str', '*base': = 'str', 'top': 'str', '*speed': 'int' } }",=20 "{ 'command': 'drive-mirror', 'data': { 'device': 'str', 'target':= 'str', '*format': 'str', 'sync': 'MirrorSyncMode', '*mode': 'NewImageMode= ', '*speed': 'int', '*granularity': 'uint32', '*buf-size': 'int', '*on-so= urce-error': 'BlockdevOnError', '*on-target-error': 'BlockdevOnError' } }"= ,=20 "{ 'command': 'migrate_cancel' }",=20 "{ 'command': 'migrate_set_downtime', 'data': {'value': 'number'} }= ",=20 "{ 'command': 'migrate_set_speed', 'data': {'value': 'int'} }",=20 "{ 'command': 'migrate-set-cache-size', 'data': {'value': 'int'} }"= ,=20 "{ 'command': 'query-migrate-cache-size', 'returns': 'int' }",=20 "{ 'type': 'ObjectPropertyInfo', 'data': { 'name': 'str', 'type': = 'str' } }",=20 "{ 'command': 'qom-list', 'data': { 'path': 'str' }, 'returns': [= 'ObjectPropertyInfo' ] }",=20 "{ 'command': 'qom-get', 'data': { 'path': 'str', 'property': 'str= ' }, 'returns': 'visitor', 'gen': 'no' }",=20 "{ 'command': 'qom-set', 'data': { 'path': 'str', 'property': 'str= ', 'value': 'visitor' }, 'gen': 'no' }",=20 "{ 'command': 'set_password', 'data': {'protocol': 'str', 'passwor= d': 'str', '*connected': 'str'} }",=20 "{ 'command': 'expire_password', 'data': {'protocol': 'str', 'time'= : 'str'} }",=20 "{ 'command': 'eject', 'data': {'device': 'str', '*force': 'bool'} = }",=20 "{ 'command': 'change-vnc-password', 'data': {'password': 'str'} }"= ,=20 "{ 'command': 'change', 'data': {'device': 'str', 'target': 'str',= '*arg': 'str'} }",=20 "{ 'command': 'block_set_io_throttle', 'data': { 'device': 'str', = 'bps': 'int', 'bps_rd': 'int', 'bps_wr': 'int', 'iops': 'int', 'iops_rd': = 'int', 'iops_wr': 'int' } }",=20 "{ 'command': 'block-stream', 'data': { 'device': 'str', '*base': = 'str', '*speed': 'int', '*on-error': 'BlockdevOnError' } }",=20 "{ 'command': 'block-job-set-speed', 'data': { 'device': 'str', 's= peed': 'int' } }",=20 "{ 'command': 'block-job-cancel', 'data': { 'device': 'str', '*forc= e': 'bool' } }",=20 "{ 'command': 'block-job-pause', 'data': { 'device': 'str' } }",=20 "{ 'command': 'block-job-resume', 'data': { 'device': 'str' } }",= =20 "{ 'command': 'block-job-complete', 'data': { 'device': 'str' } }",= =20 "{ 'type': 'ObjectTypeInfo', 'data': { 'name': 'str' } }",=20 "{ 'command': 'qom-list-types', 'data': { '*implements': 'str', '*= abstract': 'bool' }, 'returns': [ 'ObjectTypeInfo' ] }",=20 "{ 'type': 'DevicePropertyInfo', 'data': { 'name': 'str', 'type': = 'str' } }",=20 "{ 'command': 'device-list-properties', 'data': { 'typename': 'str= '}, 'returns': [ 'DevicePropertyInfo' ] }",=20 "{ 'command': 'migrate', 'data': {'uri': 'str', '*blk': 'bool', '*= inc': 'bool', '*detach': 'bool' } }",=20 "{ 'command': 'xen-save-devices-state', 'data': {'filename': 'str'}= }",=20 "{ 'command': 'xen-set-global-dirty-log', 'data': { 'enable': 'bool= ' } }",=20 "{ 'command': 'device_del', 'data': {'id': 'str'} }",=20 "{ 'command': 'dump-guest-memory', 'data': { 'paging': 'bool', 'pr= otocol': 'str', '*begin': 'int', '*length': 'int' } }",=20 "{ 'command': 'netdev_add', 'data': {'type': 'str', 'id': 'str', '= *props': '**'}, 'gen': 'no' }",=20 "{ 'command': 'netdev_del', 'data': {'id': 'str'} }",=20 "{ 'type': 'NetdevNoneOptions', 'data': { } }",=20 "{ 'type': 'NetLegacyNicOptions', 'data': { '*netdev': 'str', '*= macaddr': 'str', '*model': 'str', '*addr': 'str', '*vectors': 'uint32' }= }",=20 "{ 'type': 'String', 'data': { 'str': 'str' } }",=20 "{ 'type': 'NetdevUserOptions', 'data': { '*hostname': 'str', '*= restrict': 'bool', '*ip': 'str', '*net': 'str', '*host': 'str', '*tftp'= : 'str', '*bootfile': 'str', '*dhcpstart': 'str', '*dns': 'str', '*dnss= earch': ['String'], '*smb': 'str', '*smbserver': 'str', '*hostfwd': ['St= ring'], '*guestfwd': ['String'] } }",=20 "{ 'type': 'NetdevTapOptions', 'data': { '*ifname': 'str', '*fd'= : 'str', '*fds': 'str', '*script': 'str', '*downscript': 'str', '*helpe= r': 'str', '*sndbuf': 'size', '*vnet_hdr': 'bool', '*vhost': 'bool', '*= vhostfd': 'str', '*vhostfds': 'str', '*vhostforce': 'bool', '*queues': '= uint32'} }",=20 "{ 'type': 'NetdevSocketOptions', 'data': { '*fd': 'str', '*list= en': 'str', '*connect': 'str', '*mcast': 'str', '*localaddr': 'str', '*= udp': 'str' } }",=20 "{ 'type': 'NetdevVdeOptions', 'data': { '*sock': 'str', '*port'= : 'uint16', '*group': 'str', '*mode': 'uint16' } }",=20 "{ 'type': 'NetdevDumpOptions', 'data': { '*len': 'size', '*file= ': 'str' } }",=20 "{ 'type': 'NetdevBridgeOptions', 'data': { '*br': 'str', '*help= er': 'str' } }",=20 "{ 'type': 'NetdevHubPortOptions', 'data': { 'hubid': 'int32' } }= ",=20 "{ 'union': 'NetClientOptions', 'data': { 'none': 'NetdevNoneOpti= ons', 'nic': 'NetLegacyNicOptions', 'user': 'NetdevUserOptions', 'tap': = 'NetdevTapOptions', 'socket': 'NetdevSocketOptions', 'vde': 'NetdevVdeOpt= ions', 'dump': 'NetdevDumpOptions', 'bridge': 'NetdevBridgeOptions', 'hu= bport': 'NetdevHubPortOptions' } }",=20 "{ 'type': 'NetLegacy', 'data': { '*vlan': 'int32', '*id': 'str'= , '*name': 'str', 'opts': 'NetClientOptions' } }",=20 "{ 'type': 'Netdev', 'data': { 'id': 'str', 'opts': 'NetClientOp= tions' } }",=20 "{ 'type': 'InetSocketAddress', 'data': { 'host': 'str', 'port':= 'str', '*to': 'uint16', '*ipv4': 'bool', '*ipv6': 'bool' } }",=20 "{ 'type': 'UnixSocketAddress', 'data': { 'path': 'str' } }",=20 "{ 'union': 'SocketAddress', 'data': { 'inet': 'InetSocketAddress= ', 'unix': 'UnixSocketAddress', 'fd': 'String' } }",=20 "{ 'command': 'getfd', 'data': {'fdname': 'str'} }",=20 "{ 'command': 'closefd', 'data': {'fdname': 'str'} }",=20 "{ 'command': 'query-machines', 'returns': ['MachineInfo'] }",=20 "{ 'type': 'CpuDefinitionInfo', 'data': { 'name': 'str' } }",=20 "{ 'command': 'query-cpu-definitions', 'returns': ['CpuDefinitionIn= fo'] }",=20 "{ 'type': 'AddfdInfo', 'data': {'fdset-id': 'int', 'fd': 'int'} }"= ,=20 "{ 'command': 'add-fd', 'data': {'*fdset-id': 'int', '*opaque': 'st= r'}, 'returns': 'AddfdInfo' }",=20 "{ 'command': 'remove-fd', 'data': {'fdset-id': 'int', '*fd': 'int'= } }",=20 "{ 'type': 'FdsetFdInfo', 'data': {'fd': 'int', '*opaque': 'str'} = }",=20 "{ 'type': 'FdsetInfo', 'data': {'fdset-id': 'int', 'fds': ['Fdset= FdInfo']} }",=20 "{ 'command': 'query-fdsets', 'returns': ['FdsetInfo'] }",=20 "{ 'enum': 'TargetType', 'data': [ 'alpha', 'arm', 'cris', 'i386',= 'lm32', 'm68k', 'microblazeel', 'microblaze', 'mips64el', 'mips64', 'mips= el', 'mips', 'moxie', 'or32', 'ppc64', 'ppcemb', 'ppc', 's390x', 'sh4eb', = 'sh4', 'sparc64', 'sparc', 'unicore32', 'x86_64', 'xtensaeb', 'xtensa' ] }= ",=20 "{ 'type': 'TargetInfo', 'data': { 'arch': 'TargetType' } }",=20 "{ 'command': 'query-target', 'returns': 'TargetInfo' }",=20 "{ '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_rig= ht', 'ret', 'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'semicolon', 'ap= ostrophe', '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', 'k= p_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' ] }",=20 "{ 'union': 'KeyValue', 'data': { 'number': 'int', 'qcode': 'QKe= yCode' } }",=20 "{ 'command': 'send-key', 'data': { 'keys': ['KeyValue'], '*hold-t= ime': 'int' } }",=20 "{ 'command': 'screendump', 'data': {'filename': 'str'} }",=20 "{ 'command': 'nbd-server-start', 'data': { 'addr': 'SocketAddress= ' } }",=20 "{ 'command': 'nbd-server-add', 'data': {'device': 'str', '*writabl= e': 'bool'} }",=20 "{ 'command': 'nbd-server-stop' }",=20 "{ 'type': 'ChardevFile', 'data': { '*in' : 'str', 'out' : 'str' }= }",=20 "{ 'type': 'ChardevHostdev', 'data': { 'device' : 'str' } }",=20 "{ 'type': 'ChardevSocket', 'data': { 'addr' : 'SocketAddress', '*= server' : 'bool', '*wait' : 'bool', '*nodelay' : 'bool', '*telnet' : 'bo= ol' } }",=20 "{ 'type': 'ChardevUdp', 'data': { 'remote' : 'SocketAddress', '*l= ocal' : 'SocketAddress' } }",=20 "{ 'type': 'ChardevMux', 'data': { 'chardev' : 'str' } }",=20 "{ 'type': 'ChardevStdio', 'data': { '*signal' : 'bool' } }",=20 "{ 'type': 'ChardevSpiceChannel', 'data': { 'type' : 'str' } }",=20 "{ 'type': 'ChardevSpicePort', 'data': { 'fqdn' : 'str' } }",=20 "{ 'type': 'ChardevVC', 'data': { '*width' : 'int', '*height' : 'i= nt', '*cols' : 'int', '*rows' : 'int' } }",=20 "{ 'type': 'ChardevMemory', 'data': { '*size' : 'int' } }",=20 "{ 'type': 'ChardevDummy', 'data': { } }",=20 "{ 'union': 'ChardevBackend', 'data': { 'file' : 'ChardevFile', 's= erial' : 'ChardevHostdev', 'parallel': 'ChardevHostdev', 'pipe' : 'Charde= vHostdev', 'socket' : 'ChardevSocket', 'udp' : 'ChardevUdp', 'pty' : 'Ch= ardevDummy', 'null' : 'ChardevDummy', 'mux' : 'ChardevMux', 'msmouse': '= ChardevDummy', 'braille': 'ChardevDummy', 'stdio' : 'ChardevStdio', 'con= sole': 'ChardevDummy', 'spicevmc' : 'ChardevSpiceChannel', 'spiceport' : = 'ChardevSpicePort', 'vc' : 'ChardevVC', 'memory' : 'ChardevMemory' } }",= =20 "{ 'type' : 'ChardevReturn', 'data': { '*pty' : 'str' } }",=20 "{ 'command': 'chardev-add', 'data': {'id' : 'str', 'backend' : 'C= hardevBackend' }, 'returns': 'ChardevReturn' }",=20 "{ 'command': 'chardev-remove', 'data': {'id': 'str'} }",=20 "{ 'enum': 'TpmModel', 'data': [ 'tpm-tis' ] }",=20 "{ 'command': 'query-tpm-models', 'returns': ['TpmModel'] }",=20 "{ 'enum': 'TpmType', 'data': [ 'passthrough' ] }",=20 "{ 'command': 'query-tpm-types', 'returns': ['TpmType'] }",=20 "{ 'type': 'TPMPassthroughOptions', 'data': { '*path' : 'str', '*c= ancel-path' : 'str'} }",=20 "{ 'union': 'TpmTypeOptions', 'data': { 'passthrough' : 'TPMPassth= roughOptions' } }",=20 "{ 'type': 'TPMInfo', 'data': {'id': 'str', 'model': 'TpmModel', = 'options': 'TpmTypeOptions' } }",=20 "{ 'command': 'query-tpm', 'returns': ['TPMInfo'] }",=20 "{ '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' }}",=20 "{ 'enum': 'CommandLineParameterType', 'data': ['string', 'boolean= ', 'number', 'size'] }",=20 "{ 'type': 'CommandLineParameterInfo', 'data': { 'name': 'str', '= type': 'CommandLineParameterType', '*help': 'str' } }",=20 "{ 'type': 'CommandLineOptionInfo', 'data': { 'option': 'str', 'pa= rameters': ['CommandLineParameterInfo'] } }",=20 "{'command': 'query-command-line-options', 'data': { '*option': 'st= r' }, 'returns': ['CommandLineOptionInfo'] }",=20 "{ 'enum': 'X86CPURegister32', 'data': [ 'EAX', 'EBX', 'ECX', 'EDX= ', 'ESP', 'EBP', 'ESI', 'EDI' ] }",=20 "{ 'type': 'X86CPUFeatureWordInfo', 'data': { 'cpuid-input-eax': '= int', '*cpuid-input-ecx': 'int', 'cpuid-register': 'X86CPURegister32', '= features': 'int' } }",=20 "{ 'command': 'query-qmp-schema', 'data': { '*type': 'str', '*name'= : 'str' }, 'returns': ['str'] }" ] } --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="query-qmp-schema-filter-by-name.txt" {"execute": "query-qmp-schema", "arguments": { "name" : "query-name" }} { "return": [ "{ 'command': 'query-name', 'returns': 'NameInfo' }" ] } --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="query-qmp-schema-filter-all-command.txt" {'execute': 'query-qmp-schema', 'arguments': {'type': 'command'}} { "return": [ "{ 'command': 'add_client', 'data': { 'protocol': 'str', 'fdname': 'str', '*skipauth': 'bool', '*tls': 'bool' } }", "{ 'command': 'query-name', 'returns': 'NameInfo' }", "{ 'command': 'query-version', 'returns': 'VersionInfo' }", "{ 'command': 'query-kvm', 'returns': 'KvmInfo' }", "{ 'command': 'query-status', 'returns': 'StatusInfo' }", "{ 'command': 'query-uuid', 'returns': 'UuidInfo' }", "{ 'command': 'query-chardev', 'returns': ['ChardevInfo'] }", "{ 'command': 'ringbuf-write', 'data': {'device': 'str', 'data': 'str', '*format': 'DataFormat'} }", "{ 'command': 'ringbuf-read', 'data': {'device': 'str', 'size': 'int', '*format': 'DataFormat'}, 'returns': 'str' }", "{ 'command': 'query-commands', 'returns': ['CommandInfo'] }", "{ 'command': 'query-events', 'returns': ['EventInfo'] }", "{ 'command': 'query-migrate', 'returns': 'MigrationInfo' }", "{ 'command': 'migrate-set-capabilities', 'data': { 'capabilities': ['MigrationCapabilityStatus'] } }", "{ 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapabilityStatus']}", "{ 'command': 'query-mice', 'returns': ['MouseInfo'] }", "{ 'command': 'query-cpus', 'returns': ['CpuInfo'] }", "{ 'command': 'query-block', 'returns': ['BlockInfo'] }", "{ 'command': 'query-blockstats', 'returns': ['BlockStats'] }", "{ 'command': 'query-vnc', 'returns': 'VncInfo' }", "{ 'command': 'query-spice', 'returns': 'SpiceInfo' }", "{ 'command': 'query-balloon', 'returns': 'BalloonInfo' }", "{ 'command': 'query-pci', 'returns': ['PciInfo'] }", "{ 'command': 'query-block-jobs', 'returns': ['BlockJobInfo'] }", "{ 'command': 'quit' }", "{ 'command': 'stop' }", "{ 'command': 'system_reset' }", "{ 'command': 'system_powerdown' }", "{ 'command': 'cpu', 'data': {'index': 'int'} }", "{ 'command': 'cpu-add', 'data': {'id': 'int'} }", "{ 'command': 'memsave', 'data': {'val': 'int', 'size': 'int', 'filename': 'str', '*cpu-index': 'int'} }", "{ 'command': 'pmemsave', 'data': {'val': 'int', 'size': 'int', 'filename': 'str'} }", "{ 'command': 'cont' }", "{ 'command': 'system_wakeup' }", "{ 'command': 'inject-nmi' }", "{ 'command': 'block_passwd', 'data': {'device': 'str', 'password': 'str'} }", "{ 'command': 'balloon', 'data': {'value': 'int'} }", "{ 'command': 'block_resize', 'data': { 'device': 'str', 'size': 'int' }}", "{ 'command': 'transaction', 'data': { 'actions': [ 'TransactionAction' ] } }", "{ 'command': 'blockdev-snapshot-sync', 'data': { 'device': 'str', 'snapshot-file': 'str', '*format': 'str', '*mode': 'NewImageMode'} }", "{ 'command': 'human-monitor-command', 'data': {'command-line': 'str', '*cpu-index': 'int'}, 'returns': 'str' }", "{ 'command': 'block-commit', 'data': { 'device': 'str', '*base': 'str', 'top': 'str', '*speed': 'int' } }", "{ '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': 'migrate_cancel' }", "{ 'command': 'migrate_set_downtime', 'data': {'value': 'number'} }", "{ 'command': 'migrate_set_speed', 'data': {'value': 'int'} }", "{ 'command': 'migrate-set-cache-size', 'data': {'value': 'int'} }", "{ 'command': 'query-migrate-cache-size', 'returns': 'int' }", "{ 'command': 'qom-list', 'data': { 'path': 'str' }, 'returns': [ 'ObjectPropertyInfo' ] }", "{ 'command': 'qom-get', 'data': { 'path': 'str', 'property': 'str' }, 'returns': 'visitor', 'gen': 'no' }", "{ 'command': 'qom-set', 'data': { 'path': 'str', 'property': 'str', 'value': 'visitor' }, 'gen': 'no' }", "{ 'command': 'set_password', 'data': {'protocol': 'str', 'password': 'str', '*connected': 'str'} }", "{ 'command': 'expire_password', 'data': {'protocol': 'str', 'time': 'str'} }", "{ 'command': 'eject', 'data': {'device': 'str', '*force': 'bool'} }", "{ 'command': 'change-vnc-password', 'data': {'password': 'str'} }", "{ 'command': 'change', 'data': {'device': 'str', 'target': 'str', '*arg': 'str'} }", "{ '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-stream', 'data': { 'device': 'str', '*base': 'str', '*speed': 'int', '*on-error': 'BlockdevOnError' } }", "{ 'command': 'block-job-set-speed', 'data': { 'device': 'str', 'speed': 'int' } }", "{ 'command': 'block-job-cancel', 'data': { 'device': 'str', '*force': 'bool' } }", "{ 'command': 'block-job-pause', 'data': { 'device': 'str' } }", "{ 'command': 'block-job-resume', 'data': { 'device': 'str' } }", "{ 'command': 'block-job-complete', 'data': { 'device': 'str' } }", "{ 'command': 'qom-list-types', 'data': { '*implements': 'str', '*abstract': 'bool' }, 'returns': [ 'ObjectTypeInfo' ] }", "{ 'command': 'device-list-properties', 'data': { 'typename': 'str'}, 'returns': [ 'DevicePropertyInfo' ] }", "{ 'command': 'migrate', 'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool', '*detach': 'bool' } }", "{ 'command': 'xen-save-devices-state', 'data': {'filename': 'str'} }", "{ 'command': 'xen-set-global-dirty-log', 'data': { 'enable': 'bool' } }", "{ 'command': 'device_del', 'data': {'id': 'str'} }", "{ 'command': 'dump-guest-memory', 'data': { 'paging': 'bool', 'protocol': 'str', '*begin': 'int', '*length': 'int' } }", "{ 'command': 'netdev_add', 'data': {'type': 'str', 'id': 'str', '*props': '**'}, 'gen': 'no' }", "{ 'command': 'netdev_del', 'data': {'id': 'str'} }", "{ 'command': 'getfd', 'data': {'fdname': 'str'} }", "{ 'command': 'closefd', 'data': {'fdname': 'str'} }", "{ 'command': 'query-machines', 'returns': ['MachineInfo'] }", "{ 'command': 'query-cpu-definitions', 'returns': ['CpuDefinitionInfo'] }", "{ 'command': 'add-fd', 'data': {'*fdset-id': 'int', '*opaque': 'str'}, 'returns': 'AddfdInfo' }", "{ 'command': 'remove-fd', 'data': {'fdset-id': 'int', '*fd': 'int'} }", "{ 'command': 'query-fdsets', 'returns': ['FdsetInfo'] }", "{ 'command': 'query-target', 'returns': 'TargetInfo' }", "{ 'command': 'send-key', 'data': { 'keys': ['KeyValue'], '*hold-time': 'int' } }", "{ 'command': 'screendump', 'data': {'filename': 'str'} }", "{ 'command': 'nbd-server-start', 'data': { 'addr': 'SocketAddress' } }", "{ 'command': 'nbd-server-add', 'data': {'device': 'str', '*writable': 'bool'} }", "{ 'command': 'nbd-server-stop' }", "{ 'command': 'chardev-add', 'data': {'id' : 'str', 'backend' : 'ChardevBackend' }, 'returns': 'ChardevReturn' }", "{ 'command': 'chardev-remove', 'data': {'id': 'str'} }", "{ 'command': 'query-tpm-models', 'returns': ['TpmModel'] }", "{ 'command': 'query-tpm-types', 'returns': ['TpmType'] }", "{ 'command': 'query-tpm', 'returns': ['TPMInfo'] }", "{'command': 'query-command-line-options', 'data': { '*option': 'str' }, 'returns': ['CommandLineOptionInfo'] }", "{ 'command': 'query-qmp-schema', 'data': { '*type': 'str', '*name': 'str' }, 'returns': ['str'] }" ] } --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="query-qmp-schema-filter-all-enum.txt" Content-Transfer-Encoding: quoted-printable {'execute': 'query-qmp-schema', 'arguments': { 'type': 'enum'}} { "return": [ "{ 'enum': 'ErrorClass', 'data': [ 'GenericError', 'CommandNotFoun= d', 'DeviceEncrypted', 'DeviceNotActive', 'DeviceNotFound', 'KVMMissingCap= ' ] }",=20 "{ 'enum': 'RunState', 'data': [ 'debug', 'inmigrate', 'internal-e= rror', 'io-error', 'paused', 'postmigrate', 'prelaunch', 'finish-migrate',= 'restore-vm', 'running', 'save-vm', 'shutdown', 'suspended', 'watchdog', = 'guest-panicked' ] }",=20 "{ 'enum': 'DataFormat' 'data': [ 'utf8', 'base64' ] }",=20 "{ 'enum': 'MigrationCapability', 'data': ['xbzrle'] }",=20 "{ 'enum': 'BlockDeviceIoStatus', 'data': [ 'ok', 'failed', 'nospac= e' ] }",=20 "{ 'enum': 'SpiceQueryMouseMode', 'data': [ 'client', 'server', 'u= nknown' ] }",=20 "{ 'enum': 'BlockdevOnError', 'data': ['report', 'ignore', 'enospc= ', 'stop'] }",=20 "{ 'enum': 'MirrorSyncMode', 'data': ['top', 'full', 'none'] }",= =20 "{ 'enum': 'NewImageMode' 'data': [ 'existing', 'absolute-paths' ]= }",=20 "{ 'enum': 'TargetType', 'data': [ 'alpha', 'arm', 'cris', 'i386',= 'lm32', 'm68k', 'microblazeel', 'microblaze', 'mips64el', 'mips64', 'mips= el', 'mips', 'moxie', 'or32', 'ppc64', 'ppcemb', 'ppc', 's390x', 'sh4eb', = 'sh4', 'sparc64', 'sparc', 'unicore32', 'x86_64', 'xtensaeb', 'xtensa' ] }= ",=20 "{ '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_rig= ht', 'ret', 'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'semicolon', 'ap= ostrophe', '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', 'k= p_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' ] }",=20 "{ 'enum': 'TpmModel', 'data': [ 'tpm-tis' ] }",=20 "{ 'enum': 'TpmType', 'data': [ 'passthrough' ] }",=20 "{ 'enum': 'CommandLineParameterType', 'data': ['string', 'boolean= ', 'number', 'size'] }",=20 "{ 'enum': 'X86CPURegister32', 'data': [ 'EAX', 'EBX', 'ECX', 'EDX= ', 'ESP', 'EBP', 'ESI', 'EDI' ] }" ] } --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="query-qmp-schema-filter-all-type.txt" {'execute': 'query-qmp-schema', 'arguments': {'type': 'type'}} { "return": [ "{ 'type': 'NameInfo', 'data': {'*name': 'str'} }", "{ 'type': 'VersionInfo', 'data': {'qemu': {'major': 'int', 'minor': 'int', 'micro': 'int'}, 'package': 'str'} }", "{ 'type': 'KvmInfo', 'data': {'enabled': 'bool', 'present': 'bool'} }", "{ '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': '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': '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': 'StatusInfo', 'data': {'running': 'bool', 'singlestep': 'bool', 'status': 'RunState'} }", "{ 'type': 'UuidInfo', 'data': {'UUID': 'str'} }", "{ 'type': 'ChardevInfo', 'data': {'label': 'str', 'filename': 'str'} }", "{ 'type': 'CommandInfo', 'data': {'name': 'str'} }", "{ 'type': 'EventInfo', 'data': {'name': 'str'} }", "{ 'type': 'MigrationStats', 'data': {'transferred': 'int', 'remaining': 'int', 'total': 'int' , 'duplicate': 'int', 'skipped': 'int', 'normal': 'int', 'normal-bytes': 'int', 'dirty-pages-rate' : 'int' } }", "{ 'type': 'XBZRLECacheStats', 'data': {'cache-size': 'int', 'bytes': 'int', 'pages': 'int', 'cache-miss': 'int', 'overflow': 'int' } }", "{ 'type': 'MigrationInfo', 'data': {'*status': 'str', '*ram': 'MigrationStats', '*disk': 'MigrationStats', '*xbzrle-cache': 'XBZRLECacheStats', '*total-time': 'int', '*expected-downtime': 'int', '*downtime': 'int'} }", "{ 'type': 'MigrationCapabilityStatus', 'data': { 'capability' : 'MigrationCapability', 'state' : 'bool' } }", "{ 'type': 'MouseInfo', 'data': {'name': 'str', 'index': 'int', 'current': 'bool', 'absolute': 'bool'} }", "{ 'type': 'CpuInfo', 'data': {'CPU': 'int', 'current': 'bool', 'halted': 'bool', '*pc': 'int', '*nip': 'int', '*npc': 'int', '*PC': 'int', 'thread_id': 'int'} }", "{ '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': 'BlockDirtyInfo', 'data': {'count': 'int', 'granularity': 'int'} }", "{ 'type': 'BlockInfo', 'data': {'device': 'str', 'type': 'str', 'removable': 'bool', 'locked': 'bool', '*inserted': 'BlockDeviceInfo', '*tray_open': 'bool', '*io-status': 'BlockDeviceIoStatus', '*dirty': 'BlockDirtyInfo' } }", "{ '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': 'BlockStats', 'data': {'*device': 'str', 'stats': 'BlockDeviceStats', '*parent': 'BlockStats'} }", "{ 'type': 'VncClientInfo', 'data': {'host': 'str', 'family': 'str', 'service': 'str', '*x509_dname': 'str', '*sasl_username': 'str'} }", "{ 'type': 'SpiceChannel', 'data': {'host': 'str', 'family': 'str', 'port': 'str', 'connection-id': 'int', 'channel-type': 'int', 'channel-id': 'int', 'tls': 'bool'} }", "{ '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': 'BalloonInfo', 'data': {'actual': 'int' } }", "{ 'type': 'PciMemoryRange', 'data': {'base': 'int', 'limit': 'int'} }", "{ 'type': 'PciMemoryRegion', 'data': {'bar': 'int', 'type': 'str', 'address': 'int', 'size': 'int', '*prefetch': 'bool', '*mem_type_64': 'bool' } }", "{ 'type': 'PciBridgeInfo', 'data': {'bus': { 'number': 'int', 'secondary': 'int', 'subordinate': 'int', 'io_range': 'PciMemoryRange', 'memory_range': 'PciMemoryRange', 'prefetchable_range': 'PciMemoryRange' }, '*devices': ['PciDeviceInfo']} }", "{ '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': 'PciInfo', 'data': {'bus': 'int', 'devices': ['PciDeviceInfo']} }", "{ 'type': 'BlockJobInfo', 'data': {'type': 'str', 'device': 'str', 'len': 'int', 'offset': 'int', 'busy': 'bool', 'paused': 'bool', 'speed': 'int', 'io-status': 'BlockDeviceIoStatus'} }", "{ 'type': 'BlockdevSnapshot', 'data': { 'device': 'str', 'snapshot-file': 'str', '*format': 'str', '*mode': 'NewImageMode' } }", "{ 'type': 'ObjectPropertyInfo', 'data': { 'name': 'str', 'type': 'str' } }", "{ 'type': 'ObjectTypeInfo', 'data': { 'name': 'str' } }", "{ 'type': 'DevicePropertyInfo', 'data': { 'name': 'str', 'type': 'str' } }", "{ 'type': 'NetdevNoneOptions', 'data': { } }", "{ 'type': 'NetLegacyNicOptions', 'data': { '*netdev': 'str', '*macaddr': 'str', '*model': 'str', '*addr': 'str', '*vectors': 'uint32' } }", "{ 'type': 'String', 'data': { 'str': 'str' } }", "{ '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': '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': 'NetdevSocketOptions', 'data': { '*fd': 'str', '*listen': 'str', '*connect': 'str', '*mcast': 'str', '*localaddr': 'str', '*udp': 'str' } }", "{ 'type': 'NetdevVdeOptions', 'data': { '*sock': 'str', '*port': 'uint16', '*group': 'str', '*mode': 'uint16' } }", "{ 'type': 'NetdevDumpOptions', 'data': { '*len': 'size', '*file': 'str' } }", "{ 'type': 'NetdevBridgeOptions', 'data': { '*br': 'str', '*helper': 'str' } }", "{ 'type': 'NetdevHubPortOptions', 'data': { 'hubid': 'int32' } }", "{ 'type': 'NetLegacy', 'data': { '*vlan': 'int32', '*id': 'str', '*name': 'str', 'opts': 'NetClientOptions' } }", "{ 'type': 'Netdev', 'data': { 'id': 'str', 'opts': 'NetClientOptions' } }", "{ 'type': 'InetSocketAddress', 'data': { 'host': 'str', 'port': 'str', '*to': 'uint16', '*ipv4': 'bool', '*ipv6': 'bool' } }", "{ 'type': 'UnixSocketAddress', 'data': { 'path': 'str' } }", "{ 'type': 'MachineInfo', 'data': { 'name': 'str', '*alias': 'str', '*is-default': 'bool', 'cpu-max': 'int' } }", "{ 'type': 'CpuDefinitionInfo', 'data': { 'name': 'str' } }", "{ 'type': 'AddfdInfo', 'data': {'fdset-id': 'int', 'fd': 'int'} }", "{ 'type': 'FdsetFdInfo', 'data': {'fd': 'int', '*opaque': 'str'} }", "{ 'type': 'FdsetInfo', 'data': {'fdset-id': 'int', 'fds': ['FdsetFdInfo']} }", "{ 'type': 'TargetInfo', 'data': { 'arch': 'TargetType' } }", "{ 'type': 'ChardevFile', 'data': { '*in' : 'str', 'out' : 'str' } }", "{ 'type': 'ChardevHostdev', 'data': { 'device' : 'str' } }", "{ 'type': 'ChardevSocket', 'data': { 'addr' : 'SocketAddress', '*server' : 'bool', '*wait' : 'bool', '*nodelay' : 'bool', '*telnet' : 'bool' } }", "{ 'type': 'ChardevUdp', 'data': { 'remote' : 'SocketAddress', '*local' : 'SocketAddress' } }", "{ 'type': 'ChardevMux', 'data': { 'chardev' : 'str' } }", "{ 'type': 'ChardevStdio', 'data': { '*signal' : 'bool' } }", "{ 'type': 'ChardevSpiceChannel', 'data': { 'type' : 'str' } }", "{ 'type': 'ChardevSpicePort', 'data': { 'fqdn' : 'str' } }", "{ 'type': 'ChardevVC', 'data': { '*width' : 'int', '*height' : 'int', '*cols' : 'int', '*rows' : 'int' } }", "{ 'type': 'ChardevMemory', 'data': { '*size' : 'int' } }", "{ 'type': 'ChardevDummy', 'data': { } }", "{ 'type' : 'ChardevReturn', 'data': { '*pty' : 'str' } }", "{ 'type': 'TPMPassthroughOptions', 'data': { '*path' : 'str', '*cancel-path' : 'str'} }", "{ 'type': 'TPMInfo', 'data': {'id': 'str', 'model': 'TpmModel', 'options': 'TpmTypeOptions' } }", "{ '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': 'CommandLineParameterInfo', 'data': { 'name': 'str', 'type': 'CommandLineParameterType', '*help': 'str' } }", "{ 'type': 'CommandLineOptionInfo', 'data': { 'option': 'str', 'parameters': ['CommandLineParameterInfo'] } }", "{ 'type': 'X86CPUFeatureWordInfo', 'data': { 'cpuid-input-eax': 'int', '*cpuid-input-ecx': 'int', 'cpuid-register': 'X86CPURegister32', 'features': 'int' } }" ] } --ghzN8eJ9Qlbqn3iT--