11e13e201SManos PitsidianakisQA output created by 184 21e13e201SManos Pitsidianakis 31e13e201SManos Pitsidianakis== checking interface == 41e13e201SManos PitsidianakisTesting: 51e13e201SManos Pitsidianakis{ 61e13e201SManos Pitsidianakis QMP_VERSION 71e13e201SManos Pitsidianakis} 81e13e201SManos Pitsidianakis{ 91e13e201SManos Pitsidianakis "return": { 101e13e201SManos Pitsidianakis } 111e13e201SManos Pitsidianakis} 121e13e201SManos Pitsidianakis{ 131e13e201SManos Pitsidianakis "return": { 141e13e201SManos Pitsidianakis } 151e13e201SManos Pitsidianakis} 161e13e201SManos Pitsidianakis{ 171e13e201SManos Pitsidianakis "return": { 181e13e201SManos Pitsidianakis } 191e13e201SManos Pitsidianakis} 201e13e201SManos Pitsidianakis{ 211e13e201SManos Pitsidianakis "return": { 221e13e201SManos Pitsidianakis } 231e13e201SManos Pitsidianakis} 241e13e201SManos Pitsidianakis{ 251e13e201SManos Pitsidianakis "return": [ 261e13e201SManos Pitsidianakis { 271e13e201SManos Pitsidianakis "iops_rd": 0, 281e13e201SManos Pitsidianakis "detect_zeroes": "off", 291e13e201SManos Pitsidianakis "image": { 300a7585dbSMax Reitz "backing-image": { 310a7585dbSMax Reitz "virtual-size": 1073741824, 320a7585dbSMax Reitz "filename": "null-co://", 330a7585dbSMax Reitz "format": "null-co", 340a7585dbSMax Reitz "actual-size": 0 350a7585dbSMax Reitz }, 36b5d92efaSMax Reitz "virtual-size": 1073741824, 37b5d92efaSMax Reitz "filename": "json:{\"throttle-group\": \"group0\", \"driver\": \"throttle\", \"file\": {\"driver\": \"null-co\"}}", 3807cd7b65SMax Reitz "format": "throttle", 3907cd7b65SMax Reitz "actual-size": 0 401e13e201SManos Pitsidianakis }, 411e13e201SManos Pitsidianakis "iops_wr": 0, 421e13e201SManos Pitsidianakis "ro": false, 431e13e201SManos Pitsidianakis "node-name": "throttle0", 440a7585dbSMax Reitz "backing_file_depth": 1, 451e13e201SManos Pitsidianakis "drv": "throttle", 461e13e201SManos Pitsidianakis "iops": 0, 471e13e201SManos Pitsidianakis "bps_wr": 0, 481e13e201SManos Pitsidianakis "write_threshold": 0, 491e13e201SManos Pitsidianakis "encrypted": false, 501e13e201SManos Pitsidianakis "bps": 0, 511e13e201SManos Pitsidianakis "bps_rd": 0, 521e13e201SManos Pitsidianakis "cache": { 531e13e201SManos Pitsidianakis "no-flush": false, 541e13e201SManos Pitsidianakis "direct": false, 551e13e201SManos Pitsidianakis "writeback": true 561e13e201SManos Pitsidianakis }, 57ad1324e0SDaniel P. Berrangé "file": "json:{\"throttle-group\": \"group0\", \"driver\": \"throttle\", \"file\": {\"driver\": \"null-co\"}}" 581e13e201SManos Pitsidianakis }, 591e13e201SManos Pitsidianakis { 601e13e201SManos Pitsidianakis "iops_rd": 0, 611e13e201SManos Pitsidianakis "detect_zeroes": "off", 621e13e201SManos Pitsidianakis "image": { 63b5d92efaSMax Reitz "virtual-size": 1073741824, 64b5d92efaSMax Reitz "filename": "null-co://", 6507cd7b65SMax Reitz "format": "null-co", 6607cd7b65SMax Reitz "actual-size": 0 671e13e201SManos Pitsidianakis }, 681e13e201SManos Pitsidianakis "iops_wr": 0, 691e13e201SManos Pitsidianakis "ro": false, 701e13e201SManos Pitsidianakis "node-name": "disk0", 711e13e201SManos Pitsidianakis "backing_file_depth": 0, 72b5d92efaSMax Reitz "drv": "null-co", 731e13e201SManos Pitsidianakis "iops": 0, 741e13e201SManos Pitsidianakis "bps_wr": 0, 751e13e201SManos Pitsidianakis "write_threshold": 0, 761e13e201SManos Pitsidianakis "encrypted": false, 771e13e201SManos Pitsidianakis "bps": 0, 781e13e201SManos Pitsidianakis "bps_rd": 0, 791e13e201SManos Pitsidianakis "cache": { 801e13e201SManos Pitsidianakis "no-flush": false, 811e13e201SManos Pitsidianakis "direct": false, 821e13e201SManos Pitsidianakis "writeback": true 831e13e201SManos Pitsidianakis }, 84ad1324e0SDaniel P. Berrangé "file": "null-co://" 851e13e201SManos Pitsidianakis } 861e13e201SManos Pitsidianakis ] 871e13e201SManos Pitsidianakis} 881e13e201SManos Pitsidianakis{ 891e13e201SManos Pitsidianakis "return": [ 901e13e201SManos Pitsidianakis ] 911e13e201SManos Pitsidianakis} 921e13e201SManos Pitsidianakis{ 931e13e201SManos Pitsidianakis "timestamp": { 941e13e201SManos Pitsidianakis "seconds": TIMESTAMP, 951e13e201SManos Pitsidianakis "microseconds": TIMESTAMP 961e13e201SManos Pitsidianakis }, 971e13e201SManos Pitsidianakis "event": "SHUTDOWN", 981e13e201SManos Pitsidianakis "data": { 99ecd7a0d5SDominik Csapak "guest": false, 10092548938SDominik Csapak "reason": "host-qmp-quit" 1011e13e201SManos Pitsidianakis } 1021e13e201SManos Pitsidianakis} 103*f389309dSStefan Hajnoczi{ 104*f389309dSStefan Hajnoczi "return": { 105*f389309dSStefan Hajnoczi } 106*f389309dSStefan Hajnoczi} 1071e13e201SManos Pitsidianakis 1081e13e201SManos Pitsidianakis 1091e13e201SManos Pitsidianakis== property changes in ThrottleGroup == 1101e13e201SManos PitsidianakisTesting: 1111e13e201SManos Pitsidianakis{ 1121e13e201SManos Pitsidianakis QMP_VERSION 1131e13e201SManos Pitsidianakis} 1141e13e201SManos Pitsidianakis{ 1151e13e201SManos Pitsidianakis "return": { 1161e13e201SManos Pitsidianakis } 1171e13e201SManos Pitsidianakis} 1181e13e201SManos Pitsidianakis{ 1191e13e201SManos Pitsidianakis "return": { 1201e13e201SManos Pitsidianakis } 1211e13e201SManos Pitsidianakis} 1221e13e201SManos Pitsidianakis{ 1231e13e201SManos Pitsidianakis "return": { 1241e13e201SManos Pitsidianakis "bps-read-max-length": 1, 1251e13e201SManos Pitsidianakis "iops-read-max-length": 1, 1261e13e201SManos Pitsidianakis "bps-read-max": 0, 1271e13e201SManos Pitsidianakis "bps-total": 0, 1281e13e201SManos Pitsidianakis "iops-total-max-length": 1, 1291e13e201SManos Pitsidianakis "iops-total": 1000, 1301e13e201SManos Pitsidianakis "iops-write-max": 0, 1311e13e201SManos Pitsidianakis "bps-write": 0, 1321e13e201SManos Pitsidianakis "bps-total-max": 0, 1331e13e201SManos Pitsidianakis "bps-write-max": 0, 1341e13e201SManos Pitsidianakis "iops-size": 0, 1351e13e201SManos Pitsidianakis "iops-read": 0, 1361e13e201SManos Pitsidianakis "iops-write-max-length": 1, 1371e13e201SManos Pitsidianakis "iops-write": 0, 1381e13e201SManos Pitsidianakis "bps-total-max-length": 1, 1391e13e201SManos Pitsidianakis "iops-read-max": 0, 1401e13e201SManos Pitsidianakis "bps-read": 0, 1411e13e201SManos Pitsidianakis "bps-write-max-length": 1, 1421e13e201SManos Pitsidianakis "iops-total-max": 0 1431e13e201SManos Pitsidianakis } 1441e13e201SManos Pitsidianakis} 1451e13e201SManos Pitsidianakis{ 1461e13e201SManos Pitsidianakis "return": { 1471e13e201SManos Pitsidianakis } 1481e13e201SManos Pitsidianakis} 1491e13e201SManos Pitsidianakis{ 1501e13e201SManos Pitsidianakis "return": { 1511e13e201SManos Pitsidianakis "bps-read-max-length": 1, 1521e13e201SManos Pitsidianakis "iops-read-max-length": 1, 1531e13e201SManos Pitsidianakis "bps-read-max": 0, 1541e13e201SManos Pitsidianakis "bps-total": 0, 1551e13e201SManos Pitsidianakis "iops-total-max-length": 1, 1561e13e201SManos Pitsidianakis "iops-total": 0, 1571e13e201SManos Pitsidianakis "iops-write-max": 0, 1581e13e201SManos Pitsidianakis "bps-write": 0, 1591e13e201SManos Pitsidianakis "bps-total-max": 0, 1601e13e201SManos Pitsidianakis "bps-write-max": 0, 1611e13e201SManos Pitsidianakis "iops-size": 0, 1621e13e201SManos Pitsidianakis "iops-read": 0, 1631e13e201SManos Pitsidianakis "iops-write-max-length": 1, 1641e13e201SManos Pitsidianakis "iops-write": 0, 1651e13e201SManos Pitsidianakis "bps-total-max-length": 1, 1661e13e201SManos Pitsidianakis "iops-read-max": 0, 1671e13e201SManos Pitsidianakis "bps-read": 0, 1681e13e201SManos Pitsidianakis "bps-write-max-length": 1, 1691e13e201SManos Pitsidianakis "iops-total-max": 0 1701e13e201SManos Pitsidianakis } 1711e13e201SManos Pitsidianakis} 1721e13e201SManos Pitsidianakis{ 1731e13e201SManos Pitsidianakis "timestamp": { 1741e13e201SManos Pitsidianakis "seconds": TIMESTAMP, 1751e13e201SManos Pitsidianakis "microseconds": TIMESTAMP 1761e13e201SManos Pitsidianakis }, 1771e13e201SManos Pitsidianakis "event": "SHUTDOWN", 1781e13e201SManos Pitsidianakis "data": { 179ecd7a0d5SDominik Csapak "guest": false, 18092548938SDominik Csapak "reason": "host-qmp-quit" 1811e13e201SManos Pitsidianakis } 1821e13e201SManos Pitsidianakis} 183*f389309dSStefan Hajnoczi{ 184*f389309dSStefan Hajnoczi "return": { 185*f389309dSStefan Hajnoczi } 186*f389309dSStefan Hajnoczi} 1871e13e201SManos Pitsidianakis 1881e13e201SManos Pitsidianakis 1891e13e201SManos Pitsidianakis== object creation/set errors == 1901e13e201SManos PitsidianakisTesting: 1911e13e201SManos Pitsidianakis{ 1921e13e201SManos Pitsidianakis QMP_VERSION 1931e13e201SManos Pitsidianakis} 1941e13e201SManos Pitsidianakis{ 1951e13e201SManos Pitsidianakis "return": { 1961e13e201SManos Pitsidianakis } 1971e13e201SManos Pitsidianakis} 1981e13e201SManos Pitsidianakis{ 1991e13e201SManos Pitsidianakis "return": { 2001e13e201SManos Pitsidianakis } 2011e13e201SManos Pitsidianakis} 2021e13e201SManos Pitsidianakis{ 2031e13e201SManos Pitsidianakis "error": { 2041e13e201SManos Pitsidianakis "class": "GenericError", 2051e13e201SManos Pitsidianakis "desc": "Property cannot be set after initialization" 2061e13e201SManos Pitsidianakis } 2071e13e201SManos Pitsidianakis} 2081e13e201SManos Pitsidianakis{ 2091e13e201SManos Pitsidianakis "error": { 2101e13e201SManos Pitsidianakis "class": "GenericError", 2111e13e201SManos Pitsidianakis "desc": "bps/iops/max total values and read/write values cannot be used at the same time" 2121e13e201SManos Pitsidianakis } 2131e13e201SManos Pitsidianakis} 2141e13e201SManos Pitsidianakis{ 2151e13e201SManos Pitsidianakis "timestamp": { 2161e13e201SManos Pitsidianakis "seconds": TIMESTAMP, 2171e13e201SManos Pitsidianakis "microseconds": TIMESTAMP 2181e13e201SManos Pitsidianakis }, 2191e13e201SManos Pitsidianakis "event": "SHUTDOWN", 2201e13e201SManos Pitsidianakis "data": { 221ecd7a0d5SDominik Csapak "guest": false, 22292548938SDominik Csapak "reason": "host-qmp-quit" 2231e13e201SManos Pitsidianakis } 2241e13e201SManos Pitsidianakis} 225*f389309dSStefan Hajnoczi{ 226*f389309dSStefan Hajnoczi "return": { 227*f389309dSStefan Hajnoczi } 228*f389309dSStefan Hajnoczi} 2291e13e201SManos Pitsidianakis 2301e13e201SManos Pitsidianakis 2311e13e201SManos Pitsidianakis== don't specify group == 2321e13e201SManos PitsidianakisTesting: 2331e13e201SManos Pitsidianakis{ 2341e13e201SManos Pitsidianakis QMP_VERSION 2351e13e201SManos Pitsidianakis} 2361e13e201SManos Pitsidianakis{ 2371e13e201SManos Pitsidianakis "return": { 2381e13e201SManos Pitsidianakis } 2391e13e201SManos Pitsidianakis} 2401e13e201SManos Pitsidianakis{ 2411e13e201SManos Pitsidianakis "return": { 2421e13e201SManos Pitsidianakis } 2431e13e201SManos Pitsidianakis} 2441e13e201SManos Pitsidianakis{ 2451e13e201SManos Pitsidianakis "error": { 2461e13e201SManos Pitsidianakis "class": "GenericError", 2471e13e201SManos Pitsidianakis "desc": "Parameter 'throttle-group' is missing" 2481e13e201SManos Pitsidianakis } 2491e13e201SManos Pitsidianakis} 2501e13e201SManos Pitsidianakis{ 2511e13e201SManos Pitsidianakis "timestamp": { 2521e13e201SManos Pitsidianakis "seconds": TIMESTAMP, 2531e13e201SManos Pitsidianakis "microseconds": TIMESTAMP 2541e13e201SManos Pitsidianakis }, 2551e13e201SManos Pitsidianakis "event": "SHUTDOWN", 2561e13e201SManos Pitsidianakis "data": { 257ecd7a0d5SDominik Csapak "guest": false, 25892548938SDominik Csapak "reason": "host-qmp-quit" 2591e13e201SManos Pitsidianakis } 2601e13e201SManos Pitsidianakis} 261*f389309dSStefan Hajnoczi{ 262*f389309dSStefan Hajnoczi "return": { 263*f389309dSStefan Hajnoczi } 264*f389309dSStefan Hajnoczi} 2651e13e201SManos Pitsidianakis 2661e13e201SManos Pitsidianakis 2671e13e201SManos Pitsidianakis*** done 268