Home
last modified time | relevance | path

Searched refs:zeroes (Results 1 – 25 of 42) sorted by relevance

12

/qemu/tests/qemu-iotests/
H A D186.out60 null: json:{"read-zeroes": true, "driver": "null-co"} (null-co)
68 null: json:{"read-zeroes": true, "driver": "null-co"} (null-co)
76 null: json:{"read-zeroes": true, "driver": "null-co"} (null-co)
84 null: json:{"read-zeroes": true, "driver": "null-co"} (null-co)
92 null: json:{"read-zeroes": true, "driver": "null-co"} (null-co)
100 null: json:{"read-zeroes": true, "driver": "null-co"} (null-co)
108 null: json:{"read-zeroes": true, "driver": "null-co"} (null-co)
117 null: json:{"read-zeroes": true, "driver": "null-co"} (null-co)
411 Testing: -drive if=floppy,driver=null-co,read-zeroes=on
420 Testing: -drive if=ide,driver=null-co,read-zeroes=on
[all …]
H A D18692 check_info_block -blockdev driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=null
93 …check_info_block -blockdev driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=null,id…
103 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=nu…
111 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=no…
112 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=no…
131 check_info_block -drive if=floppy,driver=null-co,read-zeroes=on
133 check_info_block -drive if=ide,driver=null-co,read-zeroes=on
135 check_info_block -drive if=ide,driver=null-co,read-zeroes=on,media=cdrom
137 check_info_block -drive if=virtio,driver=null-co,read-zeroes=on
139 check_info_block -drive if=pflash,driver=null-co,read-zeroes=on,size=1M
H A D033.out4 === Test aligned and misaligned write zeroes operations ===
22 == rewriting zeroes ==
32 == rewriting unaligned zeroes ==
63 == rewriting zeroes ==
73 == rewriting unaligned zeroes ==
104 == rewriting zeroes ==
114 == rewriting unaligned zeroes ==
145 == rewriting zeroes ==
155 == rewriting unaligned zeroes ==
170 === Test misaligned write zeroes via truncate ===
H A D240.out2 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "hd0", "read-zeroes": t…
19 …d", "arguments": {"driver": "null-co", "node-name": "hd0", "read-only": true, "read-zeroes": true}}
36 …d", "arguments": {"driver": "null-co", "node-name": "hd0", "read-only": true, "read-zeroes": true}}
59 …d", "arguments": {"driver": "null-co", "node-name": "hd0", "read-only": true, "read-zeroes": true}}
H A D22763 run_qemu -drive driver=null-co,read-zeroes=on,if=virtio <<EOF
93 run_qemu -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk,drive=null,id=vi…
H A D027.out16 == verify zeroes before sub-cluster pattern ==
20 == verify zeroes after sub-cluster pattern ==
H A D161.out12 'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } }
26 'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } }
48 'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } }
H A D171.out55 write zeroes and check
62 write zeroes across image boundary
65 write zeroes at image boundary and check
147 write zeroes and check
154 write zeroes across image boundary
157 write zeroes at image boundary and check
243 write zeroes and check
250 write zeroes across image boundary
253 write zeroes at image boundary and check
H A D227.out5 Testing: -drive driver=null-co,read-zeroes=on,if=virtio
177 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk,drive=null,id=vi…
H A D051248 run_qemu -drive driver=null-co,read-zeroes=on,cache=none
249 run_qemu -drive driver=null-co,read-zeroes=on,cache=directsync
250 run_qemu -drive driver=null-co,read-zeroes=on,cache=writeback
251 run_qemu -drive driver=null-co,read-zeroes=on,cache=writethrough
252 run_qemu -drive driver=null-co,read-zeroes=on,cache=unsafe
H A D101.out7 == reading bytes beyond EOF gives zeroes ==
H A D303.out81 0 all-zeroes 0 0
177 "type": "all-zeroes",
H A D313.out16 ### Fill the overlay with zeroes
H A D292.out16 ### Check that the tail of the image reads as zeroes
H A D131.out67 == check write-zeroes ==
79 == check cluster-partial write-zeroes ==
H A D271.out108 ### Writing zeroes 1: unallocated clusters (backing file: yes) ###
126 ### Writing zeroes 2: allocated clusters (backing file: yes) ###
151 ### Writing zeroes 3: compressed clusters (backing file: yes) ###
192 ### Writing zeroes 4: other tests (backing file: yes) ###
199 ### Writing zeroes 1: unallocated clusters (backing file: no) ###
216 ### Writing zeroes 2: allocated clusters (backing file: no) ###
241 ### Writing zeroes 3: compressed clusters (backing file: no) ###
282 ### Writing zeroes 4: other tests (backing file: no) ###
/qemu/tests/qemu-iotests/tests/
H A Dimage-fleecing47 zeroes = [('0', '0x00f8000', '32k'), # Left-end of partial-left (1M-32K) variable
186 for p in patterns + zeroes:
193 if bitmap and p in zeroes:
227 for p in patterns + zeroes:
239 if bitmap and p in zeroes:
H A Ddetect-zeroes-registered-buf.out1 QA output created by detect-zeroes-registered-buf
/qemu/hw/intc/
H A Dallwinner-a10-pic.c29 int irq = 0, fiq = 0, zeroes; in aw_a10_pic_update() local
38 zeroes = ctz32(s->irq_pending[i] & ~s->mask[i]); in aw_a10_pic_update()
39 if (zeroes != 32) { in aw_a10_pic_update()
40 s->vector = (i * 32 + zeroes) * 4; in aw_a10_pic_update()
/qemu/block/
H A Dblklogwrites.c412 void *zeroes; in blk_log_writes_co_do_log() local
440 zeroes = g_malloc0(s->sectorsize - sizeof(super)); in blk_log_writes_co_do_log()
444 qemu_iovec_add(&qiov, zeroes, s->sectorsize - sizeof(super)); in blk_log_writes_co_do_log()
459 g_free(zeroes); in blk_log_writes_co_do_log()
497 void *zeroes = g_malloc0(s->sectorsize - sizeof(lr.entry)); in blk_log_writes_co_log() local
506 qemu_iovec_add(&log_qiov, zeroes, s->sectorsize - sizeof(lr.entry)); in blk_log_writes_co_log()
515 g_free(zeroes); in blk_log_writes_co_log()
/qemu/docs/interop/
H A Dqed_spec.txt92 * 1 - zero. The data cluster contents are all zeroes and no cluster is allocated.
97zeroes are produced. The backing file may be smaller than the image file and reads of unallocated…
99 …. The new data cluster is populated with data from the backing file (or zeroes if no backing file…
104 Reads to a zero data cluster produce zeroes. Note that the difference between an unallocated and a…
106 …ew data cluster to be allocated. The new data cluster is populated with zeroes and the data being…
/qemu/nbd/
H A Dclient.c902 NBDMode max_mode, bool *zeroes, in nbd_start_negotiate() argument
910 if (zeroes) { in nbd_start_negotiate()
911 *zeroes = true; in nbd_start_negotiate()
950 if (zeroes) { in nbd_start_negotiate()
951 *zeroes = false; in nbd_start_negotiate()
1046 bool zeroes; in nbd_receive_negotiate() local
1053 info->mode, &zeroes, errp); in nbd_receive_negotiate()
1128 if (zeroes && nbd_drop(ioc, 124, errp) < 0) { in nbd_receive_negotiate()
/qemu/docs/devel/
H A Dsecure-coding-practices.rst113 research, it must be used with the ``read-zeroes=on`` option which fills read
114 buffers with zeroes. Security issues reported with the default
115 (``read-zeroes=off``) will be discarded.
/qemu/pc-bios/s390-ccw/
H A Dnetmain.c444 uint32_t *zeroes = (uint32_t *) 188; in write_subsystem_identification() local
447 *zeroes = 0; in write_subsystem_identification()
/qemu/hw/char/
H A Dvirtio-serial-bus.c875 uint32_t map, zeroes; in find_free_port_id() local
878 zeroes = ctz32(~map); in find_free_port_id()
879 if (zeroes != 32) { in find_free_port_id()
880 return zeroes + i * 32; in find_free_port_id()

12