1cb73747eSMax Reitz--- Creating empty file --- 2cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}} 3cb73747eSMax Reitz{"return": {}} 4cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 5cb73747eSMax Reitz{"return": {}} 6*de1ff674SKevin Wolf 7cb73747eSMax Reitz{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 8cb73747eSMax Reitz{"return": {}} 9cb73747eSMax Reitz 10cb73747eSMax Reitz=== Successful image creation (defaults) === 11cb73747eSMax Reitz 12cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "size": 67125248}}} 13cb73747eSMax Reitz{"return": {}} 14cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 15cb73747eSMax Reitz{"return": {}} 16cb73747eSMax Reitz 17*de1ff674SKevin Wolf 18cb73747eSMax Reitzimage: TEST_IMG 19cb73747eSMax Reitzfile format: IMGFMT 20cb73747eSMax Reitzvirtual size: 64 MiB (67125248 bytes) 21cb73747eSMax Reitzcluster_size: 2097152 22cb73747eSMax Reitz 23cb73747eSMax Reitz--- Creating empty file --- 24cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}} 25cb73747eSMax Reitz{"return": {}} 26cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 27cb73747eSMax Reitz{"return": {}} 28*de1ff674SKevin Wolf 29cb73747eSMax Reitz{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 30cb73747eSMax Reitz{"return": {}} 31cb73747eSMax Reitz 32cb73747eSMax Reitz=== Successful image creation (explicit defaults) === 33cb73747eSMax Reitz 34cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": false, "size": 134250496, "subformat": "dynamic"}}} 35cb73747eSMax Reitz{"return": {}} 36cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 37cb73747eSMax Reitz{"return": {}} 38cb73747eSMax Reitz 39*de1ff674SKevin Wolf 40cb73747eSMax Reitzimage: TEST_IMG 41cb73747eSMax Reitzfile format: IMGFMT 42cb73747eSMax Reitzvirtual size: 128 MiB (134250496 bytes) 43cb73747eSMax Reitzcluster_size: 2097152 44cb73747eSMax Reitz 45cb73747eSMax Reitz--- Creating empty file --- 46cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}} 47cb73747eSMax Reitz{"return": {}} 48cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 49cb73747eSMax Reitz{"return": {}} 50*de1ff674SKevin Wolf 51cb73747eSMax Reitz{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 52cb73747eSMax Reitz{"return": {}} 53cb73747eSMax Reitz 54cb73747eSMax Reitz=== Successful image creation (non-default options) === 55cb73747eSMax Reitz 56cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": true, "size": 1048576, "subformat": "fixed"}}} 57cb73747eSMax Reitz{"return": {}} 58cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 59cb73747eSMax Reitz{"return": {}} 60cb73747eSMax Reitz 61*de1ff674SKevin Wolf 62cb73747eSMax Reitzimage: TEST_IMG 63cb73747eSMax Reitzfile format: IMGFMT 64cb73747eSMax Reitzvirtual size: 1 MiB (1048576 bytes) 65cb73747eSMax Reitz 66cb73747eSMax Reitz--- Creating empty file --- 67cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}} 68cb73747eSMax Reitz{"return": {}} 69cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 70cb73747eSMax Reitz{"return": {}} 71*de1ff674SKevin Wolf 72cb73747eSMax Reitz{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 73cb73747eSMax Reitz{"return": {}} 74cb73747eSMax Reitz 75cb73747eSMax Reitz=== Size not representable in CHS === 76cb73747eSMax Reitz 77cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": false, "size": 1048576}}} 78cb73747eSMax Reitz{"return": {}} 79cb73747eSMax ReitzJob failed: The requested image size cannot be represented in CHS geometry 80cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 81cb73747eSMax Reitz{"return": {}} 82cb73747eSMax Reitz 83*de1ff674SKevin Wolf 84cb73747eSMax Reitzqemu-img: Could not open 'TEST_IMG': File too small for a VHD header 85cb73747eSMax Reitz 86cb73747eSMax Reitz--- Creating empty file --- 87cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}} 88cb73747eSMax Reitz{"return": {}} 89cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 90cb73747eSMax Reitz{"return": {}} 91*de1ff674SKevin Wolf 92cb73747eSMax Reitz{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 93cb73747eSMax Reitz{"return": {}} 94cb73747eSMax Reitz 95cb73747eSMax Reitz=== Zero size=== 96cb73747eSMax Reitz 97cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "size": 0}}} 98cb73747eSMax Reitz{"return": {}} 99cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 100cb73747eSMax Reitz{"return": {}} 101cb73747eSMax Reitz 102*de1ff674SKevin Wolf 103cb73747eSMax Reitzimage: TEST_IMG 104cb73747eSMax Reitzfile format: IMGFMT 105cb73747eSMax Reitzvirtual size: 0 B (0 bytes) 106cb73747eSMax Reitzcluster_size: 2097152 107cb73747eSMax Reitz 108cb73747eSMax Reitz--- Creating empty file --- 109cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}} 110cb73747eSMax Reitz{"return": {}} 111cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 112cb73747eSMax Reitz{"return": {}} 113*de1ff674SKevin Wolf 114cb73747eSMax Reitz{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 115cb73747eSMax Reitz{"return": {}} 116cb73747eSMax Reitz 117cb73747eSMax Reitz=== Maximum CHS size=== 118cb73747eSMax Reitz 119cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "size": 136899993600}}} 120cb73747eSMax Reitz{"return": {}} 121cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 122cb73747eSMax Reitz{"return": {}} 123cb73747eSMax Reitz 124*de1ff674SKevin Wolf 125cb73747eSMax Reitzimage: TEST_IMG 126cb73747eSMax Reitzfile format: IMGFMT 127cb73747eSMax Reitzvirtual size: 127 GiB (136899993600 bytes) 128cb73747eSMax Reitzcluster_size: 2097152 129cb73747eSMax Reitz 130cb73747eSMax Reitz--- Creating empty file --- 131cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}} 132cb73747eSMax Reitz{"return": {}} 133cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 134cb73747eSMax Reitz{"return": {}} 135*de1ff674SKevin Wolf 136cb73747eSMax Reitz{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 137cb73747eSMax Reitz{"return": {}} 138cb73747eSMax Reitz 139cb73747eSMax Reitz=== Actual maximum size=== 140cb73747eSMax Reitz 141cb73747eSMax Reitz{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": true, "size": 2190433320960}}} 142cb73747eSMax Reitz{"return": {}} 143cb73747eSMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}} 144cb73747eSMax Reitz{"return": {}} 145cb73747eSMax Reitz 146*de1ff674SKevin Wolf 147cb73747eSMax Reitzimage: TEST_IMG 148cb73747eSMax Reitzfile format: IMGFMT 149cb73747eSMax Reitzvirtual size: 1.99 TiB (2190433320960 bytes) 150cb73747eSMax Reitzcluster_size: 2097152 151cb73747eSMax Reitz 152