Lines Matching +full:read +full:- +full:only
4 # Test for auto-read-only
51 if ! test -t 0; then
52 while read cmd; do
57 ) | $QEMU -nographic -monitor stdio -nodefaults "$@"
69 echo "info block -n" | run_qemu "$@" | grep -e "(file" -e "QEMU_PROG"
76 if [ -n "$TEST_IMG_FILE" ]; then
80 chmod a-w $TEST_IMG
87 echo "=== -drive with read-write image: read-only/auto-read-only combinations ==="
90 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=off
91 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=on
92 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on
94 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=off
95 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=on
96 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off
98 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=off
99 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=on
100 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none
103 echo "=== -drive with read-only image: read-only/auto-read-only combinations ==="
106 chmod a-w $TEST_IMG
108 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=off
109 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=on
110 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on
112 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=off
113 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=on
114 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off
116 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=off
117 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=on
118 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none
121 echo "=== -blockdev with read-write image: read-only/auto-read-only combinations ==="
126 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on,auto-re…
127 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on,auto-re…
128 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on
130 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off,auto-r…
131 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off,auto-r…
132 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off
134 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=off
135 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=on
136 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0
139 echo "=== -blockdev with read-only image: read-only/auto-read-only combinations ==="
142 chmod a-w $TEST_IMG
144 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on,auto-re…
145 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on,auto-re…
146 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on
148 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off,auto-r…
149 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off,auto-r…
150 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off
152 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=off
153 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=on
154 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0
158 rm -f $seq.full