/qemu/tests/qemu-iotests/ |
H A D | 026.out | 6 Event: l1_update; errno: 5; imm: off; once: on; write 7 write failed: Input/output error 11 Event: l1_update; errno: 5; imm: off; once: on; write -b 12 write failed: Input/output error 16 Event: l1_update; errno: 5; imm: off; once: off; write 19 write failed: Input/output error 23 Event: l1_update; errno: 5; imm: off; once: off; write -b 26 write failed: Input/output error 30 Event: l1_update; errno: 28; imm: off; once: on; write 31 write failed: No space left on device [all …]
|
H A D | 026.out.nocache | 6 Event: l1_update; errno: 5; imm: off; once: on; write 7 write failed: Input/output error 11 Event: l1_update; errno: 5; imm: off; once: on; write -b 12 write failed: Input/output error 16 Event: l1_update; errno: 5; imm: off; once: off; write 19 write failed: Input/output error 23 Event: l1_update; errno: 5; imm: off; once: off; write -b 26 write failed: Input/output error 30 Event: l1_update; errno: 28; imm: off; once: on; write 31 write failed: No space left on device [all …]
|
H A D | 271.out | 3 ### Standard write tests (backing file: yes) ### 8 write -q -P PATTERN 0 1k 10 write -q -P PATTERN 3k 512 12 write -q -P PATTERN 5k 1k 14 write -q -P PATTERN 6k 2k 16 write -q -P PATTERN 8k 6k 18 write -q -P PATTERN 15k 4k 20 write -q -P PATTERN 32k 1k 22 write -q -P PATTERN 63k 4k 25 write -q -z 2k 2k [all …]
|
H A D | 073 | 56 $QEMU_IO -c "write -P 0xa5 0 $size" "$TEST_IMG.base" | _filter_qemu_io 61 $QEMU_IO -c "write -P 0x11 0 0x10000" "$TEST_IMG" | _filter_qemu_io 62 $QEMU_IO -c "write -P 0x11 0x10000 0x10000" "$TEST_IMG.base" | _filter_qemu_io 69 $QEMU_IO -c "write -P 0x22 0x20000 0x10000" "$TEST_IMG" | _filter_qemu_io 70 $QEMU_IO -c "write -c -P 0x22 0x30000 0x10000" "$TEST_IMG" | _filter_qemu_io 77 $QEMU_IO -c "write -P 0x33 0x40000 0x20000" "$TEST_IMG" | _filter_qemu_io 78 $QEMU_IO -c "write -P 0x33 0x40000 0x20000" "$TEST_IMG.base" | _filter_qemu_io 79 $QEMU_IO -c "write -P 0 0x40000 0x10000" "$TEST_IMG" | _filter_qemu_io 80 $QEMU_IO -c "write -z 0x50000 0x10000" "$TEST_IMG" | _filter_qemu_io 88 $QEMU_IO -c "write -P 0x44 0x60000 0x10000" "$TEST_IMG.base" | _filter_qemu_io [all …]
|
H A D | 154 | 68 $QEMU_IO -c "write -z 0 2k" "$TEST_IMG" | _filter_qemu_io 69 $QEMU_IO -c "write -z 10k 2k" "$TEST_IMG" | _filter_qemu_io 70 $QEMU_IO -c "write -z 17k 2k" "$TEST_IMG" | _filter_qemu_io 71 $QEMU_IO -c "write -z 27k 2k" "$TEST_IMG" | _filter_qemu_io 82 $QEMU_IO -c "write -P 0x11 32k 1k" "$TEST_IMG.base" | _filter_qemu_io 83 $QEMU_IO -c "write -z 34k 1k" "$TEST_IMG" | _filter_qemu_io 89 $QEMU_IO -c "write -P 0x11 65k 1k" "$TEST_IMG.base" | _filter_qemu_io 90 $QEMU_IO -c "write -z 66k 1k" "$TEST_IMG" | _filter_qemu_io 105 $QEMU_IO -c "write -P 0x11 34k 1k" "$TEST_IMG.base" | _filter_qemu_io 106 $QEMU_IO -c "write -z 33k 1k" "$TEST_IMG" | _filter_qemu_io [all …]
|
H A D | 171 | 5 # (or can) read and write outside of the image size. 67 echo "write to image" 68 $QEMU_IO -c "write -P 0x0a 0 $test_size" "$(img_json)" | _filter_qemu_io 79 echo "write before image boundary" 80 $QEMU_IO -c "write $((test_size-1)) 1" "$(img_json)" | _filter_qemu_io 83 echo "write across image boundary" 84 $QEMU_IO -c "write $((test_size-1)) 2" "$(img_json)" | _filter_qemu_io 87 echo "write at image boundary" 88 $QEMU_IO -c "write $test_size 1" "$(img_json)" | _filter_qemu_io 91 echo "write after image boundary" [all …]
|
H A D | 179 | 4 # Test case for write zeroes with unmap 49 echo '=== Testing write zeroes with unmap ===' 60 $QEMU_IO -c "write -z -u 2M 2M" "$TEST_IMG.base" | _filter_qemu_io 61 $QEMU_IO -c "write -z 6M 2M" "$TEST_IMG.base" | _filter_qemu_io 67 $QEMU_IO -c "write -z -u 10485761 2097150" "$TEST_IMG.base" | _filter_qemu_io 68 $QEMU_IO -c "write -z 14680065 2097150" "$TEST_IMG.base" | _filter_qemu_io 74 $QEMU_IO -c "write 18M 14M" "$TEST_IMG.base" | _filter_qemu_io 75 $QEMU_IO -c "write -z -u 20M 2M" "$TEST_IMG.base" | _filter_qemu_io 76 $QEMU_IO -c "write -z 24M 6M" "$TEST_IMG.base" | _filter_qemu_io 81 $QEMU_IO -c "write -z -u 26M 2M" "$TEST_IMG.base" | _filter_qemu_io [all …]
|
H A D | 171.out | 6 write to image 19 write before image boundary 23 write across image boundary 24 write failed: Input/output error 26 write at image boundary 27 write failed: Input/output error 29 write after image boundary 30 write failed: Input/output error 55 write zeroes and check 62 write zeroes across image boundary [all …]
|
H A D | 060 | 67 # Overlap checks are done before write operations only, therefore opening an 77 # later write will result in a COW operation, effectively ruining this attempt 85 # Try to write something, thereby forcing the corrupt bit to be set 86 $QEMU_IO -c "$OPEN_RW" -c "write -P 0x2a 0 512" | _filter_qemu_io 118 $QEMU_IO -c "$OPEN_RW" -c "write -P 0x2a 0 512" | _filter_qemu_io 128 $QEMU_IO -c "$OPEN_RW" -c "write -P 0x2a 0 512" | _filter_qemu_io 135 $QEMU_IO -c "$OPEN_RW" -c "write -P 1 0 512" | _filter_qemu_io 137 $QEMU_IO -c "$OPEN_RW" -c "write -P 2 0 512" | _filter_qemu_io 143 $QEMU_IO -c "$OPEN_RW" -c "write -P 3 0 512" | _filter_qemu_io 147 $QEMU_IO -c "$OPEN_RW" -c "write -P 4 0 512" | _filter_qemu_io [all …]
|
H A D | 257.out | 9 --- Write #0 --- 11 write -P0x49 0x0000000 0x10000 13 write -P0x6c 0x0100000 0x10000 15 write -P0x6f 0x2000000 0x10000 17 write -P0x76 0x3ff0000 0x10000 42 --- Write #1 --- 44 write -P0x65 0x0000000 0x10000 46 write -P0x77 0x00f8000 0x10000 48 write -P0x72 0x2008000 0x10000 50 write -P0x69 0x3fe0000 0x10000 [all …]
|
H A D | 066 | 55 # Write some normal clusters, zero some of them (creating preallocated 57 $QEMU_IO -c "write 0 256k" -c "write -z 0 256k" -c "write 64M 512" \ 76 $QEMU_IO -c 'write -P 42 1M 256k' "$TEST_IMG" | _filter_qemu_io 80 $QEMU_IO -c 'write -z 1M 256k' "$TEST_IMG" | _filter_qemu_io 82 # Now write to them (with a COW needed for the head and tail) 83 $QEMU_IO -c "write -P 23 $(((1024 + 32) * 1024)) 192k" "$TEST_IMG" \ 118 $QEMU_IO -c 'write -P 42 0 64k' -c 'write -z 0 64k' "$TEST_IMG" \ 124 # Write to the cluster 125 $QEMU_IO -c 'write -P 23 0 64k' "$TEST_IMG" | _filter_qemu_io 139 echo '=== Consecutive write to a preallocated zero cluster ===' [all …]
|
H A D | 283 | 4 # Test for copy-before-write filter permission conflict 34 copy-before-write filter so it can copy all data to the target before it is 35 changed. copy-before-write filter is appended above source node, to achieve 37 side parents of source sub-tree with write permission is unsupported (we'd have 38 append several copy-before-write filter like nodes to handle such parents). The 56 ┌─────────────┐ write perm ┌───────┐ 60 copy-before-write filter wants to unshare write permission on its source child. 61 Write unsharing will be propagated to the "source->base" link and will conflict 62 with other node write permission. So permission update will fail and backup job 93 'take-child-perms': ['write'] [all …]
|
H A D | 153.out | 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,: Failed to get "write" lock 18 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,read-only=on: Failed to get shared "write" lock 26 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock 30 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock 34 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock 39 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock 44 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock 48 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock 52 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock 56 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock [all …]
|
H A D | 271 | 90 # write -> write 91 # zero -> write -z 92 # unmap -> write -z -u 93 # compress -> write -c 99 case "${cmd:-write}" in 101 cmd="write -q -z";; 103 cmd="write -q -z -u";; 106 cmd="write -q -c -P ${pat}";; 107 write) 109 cmd="write -q -P ${pat}";; [all …]
|
H A D | 312 | 78 # Now we write data to the quorum. All three images will read as 84 echo '### Write data to the quorum' 89 $QEMU_IO -c "write -P 0 $((0x10000)) $((0x10000))" "$TEST_IMG.0" | _filter_qemu_io 90 $QEMU_IO -c "write -P 0 $((0x10000)) $((0x30000))" "$TEST_IMG.1" | _filter_qemu_io 91 $QEMU_IO -c "write -P 0 $((0x10000)) $((0x20000))" "$TEST_IMG.2" | _filter_qemu_io 95 $QEMU_IO -c "open -o $quorum" -c "write -P 0 $((0x100000)) $((0x40000))" | _filter_qemu_io 101 $QEMU_IO -c "write -z $((0x110000)) $((0x10000))" "$TEST_IMG.0" | _filter_qemu_io 102 $QEMU_IO -c "write -z $((0x110000)) $((0x30000))" "$TEST_IMG.1" | _filter_qemu_io 103 $QEMU_IO -c "write -z $((0x110000)) $((0x20000))" "$TEST_IMG.2" | _filter_qemu_io 107 $QEMU_IO -c "write -z $((0x150000)) $((0x10000))" "$TEST_IMG.0" | _filter_qemu_io [all …]
|
H A D | 061 | 61 $QEMU_IO -c "write -z 0 128k" "$TEST_IMG" | _filter_qemu_io 72 $QEMU_IO -c "write -z 0 128k" "$TEST_IMG" | _filter_qemu_io 73 $QEMU_IO -c "write -z 32M 128k" "$TEST_IMG" | _filter_qemu_io 89 $QEMU_IO -c "write -P 0x2a 0 128k" -c flush \ 112 $QEMU_IO -c "write -P 0x2a 42M 64k" "$TEST_IMG" | _filter_qemu_io 123 $QEMU_IO -c "write -P 0x2a 24M 64k" "$TEST_IMG" | _filter_qemu_io 159 $QEMU_IO -c "write -P 0x2a 0 128k" -c flush \ 172 $QEMU_IO -c "write -P 0x2a 0 128k" "$TEST_IMG.base" | _filter_qemu_io 207 $QEMU_IO -c "write -z 0 128k" "$TEST_IMG" | _filter_qemu_io 209 $QEMU_IO -c "write -P 0x2a 0 128k" "$TEST_IMG" | _filter_qemu_io [all …]
|
H A D | 177 | 54 $QEMU_IO -c "write -P 11 0 $size" "$TEST_IMG.base" | _filter_qemu_io 56 $QEMU_IO -c "write -P 22 0 $size" "$TEST_IMG" | _filter_qemu_io 63 -c "write -P 33 1000 128k" -c "read -P 33 1000 128k" | _filter_qemu_io 66 echo "== write zero with constrained max-transfer ==" 67 limits=align=512,max-transfer=64k,opt-write-zero=$CLUSTER_SIZE 69 -c "write -z 8003584 2093056" | _filter_qemu_io 71 # non-power-of-2 write-zero/discard alignments 73 echo "== non-power-of-2 write zeroes limits ==" 75 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M 77 -c "write -z 32M 32M" | _filter_qemu_io [all …]
|
/qemu/scripts/ |
H A D | feature_to_c.py | 7 sys.stdout.write(' ' * indent) 8 sys.stdout.write('"') 13 sys.stdout.write('\n') 14 sys.stdout.write(' ' * indent) 15 sys.stdout.write('"') 19 sys.stdout.write('\\"') 21 sys.stdout.write('\\\\') 23 sys.stdout.write('\\n"') 26 sys.stdout.write(c.to_bytes(1, 'big').decode()) 28 sys.stdout.write(f'\{c:03o}') [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | write-zeroes-unmap | 4 # Test write zeros unmap. 50 echo "=== defaults - write zeros ===" 54 echo -e 'qemu-io none0 "write -z 0 1m"\nquit' \ 60 echo "=== defaults - write zeros unmap ===" 64 echo -e 'qemu-io none0 "write -zu 0 1m"\nquit' \ 71 echo "=== defaults - write actual zeros ===" 75 echo -e 'qemu-io none0 "write -P 0 0 1m"\nquit' \ 81 echo "=== discard=off - write zeroes unmap ===" 85 echo -e 'qemu-io none0 "write -zu 0 1m"\nquit' \ 91 echo "=== detect-zeroes=on - write actual zeros ===" [all …]
|
H A D | write-zeroes-unmap.out | 1 QA output created by write-zeroes-unmap 3 === defaults - write zeros === 7 (qemu) qemu-io none0 "write -z 0 1m" 13 === defaults - write zeros unmap === 17 (qemu) qemu-io none0 "write -zu 0 1m" 23 === defaults - write actual zeros === 27 (qemu) qemu-io none0 "write -P 0 0 1m" 33 === discard=off - write zeroes unmap === 37 (qemu) qemu-io none0 "write -zu 0 1m" 43 === detect-zeroes=on - write actual zeros === [all …]
|
H A D | parallels-checks | 59 echo "== write pattern ==" 60 { $QEMU_IO -c "write -P 0x11 0 $SIZE" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir 74 echo "== write pattern to last cluster ==" 75 echo "write -P 0x11 $LAST_CLUSTER_OFF $CLUSTER_SIZE" 76 { $QEMU_IO -c "write -P 0x11 $LAST_CLUSTER_OFF $CLUSTER_SIZE" "$TEST_IMG"; } 2>&1 | _filter_qemu_io… 101 echo "== write pattern to whole image ==" 102 { $QEMU_IO -c "write -P 0x11 0 $SIZE" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir 104 echo "== write another pattern to second cluster ==" 105 { $QEMU_IO -c "write -P 0x55 $CLUSTER_SIZE $CLUSTER_SIZE" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _… 126 echo "== write another pattern to the first clusters ==" [all …]
|
H A D | copy-before-write | 43 qemu_io('-c', 'write 0 1M', source_img) 53 'driver': 'copy-before-write', 89 command_line='qemu-io cbw "write 0 1M"') 152 command_line='qemu-io cbw "write 0 1M"') 166 Guest write succeed, but further snapshot-read fails, as snapshot is 178 """break-guest-write behavior: 179 Guest write fails, but snapshot-access continues working and further 182 log = self.do_cbw_error('break-guest-write') 185 write failed: Input/output error 202 """Ensure CBW filter accepts break-guest-write policy [all …]
|
/qemu/target/hexagon/ |
H A D | hex_common.py | 190 ## x, y read-write register 191 ## xx, yy read-write register pair 341 f.write(code_fmt(f"""\ 450 f.write(code_fmt(f"""\ 454 f.write(code_fmt(f"""\ 459 f.write(code_fmt(f"""\ 466 f.write(code_fmt(f"""\ 470 f.write(code_fmt(f"""\ 476 f.write(code_fmt(f"""\ 480 f.write(code_fmt(f"""\ [all …]
|
/qemu/include/qemu/ |
H A D | throttle-options.h | 19 #define QEMU_OPT_IOPS_WRITE "iops-write" 20 #define QEMU_OPT_IOPS_WRITE_MAX "iops-write-max" 21 #define QEMU_OPT_IOPS_WRITE_MAX_LENGTH "iops-write-max-length" 28 #define QEMU_OPT_BPS_WRITE "bps-write" 29 #define QEMU_OPT_BPS_WRITE_MAX "bps-write-max" 30 #define QEMU_OPT_BPS_WRITE_MAX_LENGTH "bps-write-max-length" 47 .help = "limit write operations per second",\ 59 .help = "limit write bytes per second",\ 71 .help = "I/O operations write burst",\ 83 .help = "total bytes write burst",\ [all …]
|
/qemu/hw/misc/ |
H A D | trace-events | 12 allwinner_h3_dramcom_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx6… 14 allwinner_h3_dramctl_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx6… 16 allwinner_h3_dramphy_write(uint64_t offset, uint64_t data, unsigned size) "write: offset 0x%" PRIx6… 26 allwinner_r40_dramcom_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx… 28 allwinner_r40_dramctl_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx… 30 allwinner_r40_dramphy_write(uint64_t offset, uint64_t data, unsigned size) "write: offset 0x%" PRIx… 42 avr_power_write(uint8_t value) "power_reduc write value:%u" 47 axp2xx_tx(uint8_t reg, uint8_t data) "Write reg 0x%" PRIx8 " : 0x%" PRIx8 50 ecc_mem_writel_mer(uint32_t val) "Write memory enable 0x%08x" 51 ecc_mem_writel_mdr(uint32_t val) "Write memory delay 0x%08x" [all …]
|