/qemu/tests/qemu-iotests/ |
H A D | 146.out | 5 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 9 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 13 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 17 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 21 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 25 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 29 [{ "start": 0, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "compre… 30 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 31 { "start": 4194304, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 32 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… [all …]
|
H A D | 179.out | 16 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… 17 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 18 { "start": 4194304, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… 19 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 20 { "start": 8388608, "length": 58720256, "depth": 0, "present": false, "zero": true, "data": false, … 34 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… 35 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 36 { "start": 4194304, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… 37 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 38 { "start": 8388608, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… [all …]
|
H A D | 271 | 62 expected_zero="$zero" # Space-separated list of zero subcluster indexes 91 # zero -> write -z 100 zero) 156 alloc="0"; zero="" 160 alloc="0 1"; zero="" 164 alloc="0 1 2"; zero="" 168 alloc="0 1 2 3"; zero="" 172 alloc="$(seq 0 6)"; zero="" 176 alloc="$(seq 0 9)"; zero="" 180 alloc="$(seq 0 9) 16"; zero="" [all …]
|
H A D | 154.out | 14 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compresse… 15 { "start": 4096, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compre… 16 { "start": 8192, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compres… 17 { "start": 12288, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compr… 18 { "start": 16384, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compre… 19 { "start": 20480, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compr… 20 { "start": 24576, "length": 8192, "depth": 0, "present": true, "zero": true, "data": false, "compre… 21 { "start": 32768, "length": 134184960, "depth": 1, "present": false, "zero": true, "data": false, "… 23 == backing file contains non-zero data before write_zeroes == 44 [{ "start": 0, "length": 32768, "depth": 1, "present": false, "zero": true, "data": false, "compres… [all …]
|
H A D | 122.out | 15 === Check that zero clusters are kept in overlay === 70 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compress… 71 { "start": 65536, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "co… 72 { "start": 4194304, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 73 { "start": 4259840, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "… 74 { "start": 8388608, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 75 { "start": 8454144, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "… 97 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compress… 98 { "start": 65536, "length": 65536, "depth": 0, "present": false, "zero": true, "data": false, "comp… 99 { "start": 131072, "length": 196608, "depth": 0, "present": true, "zero": false, "data": true, "com… [all …]
|
H A D | 253.out | 6 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 7 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 8 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 9 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 12 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 13 { "start": 4096, "length": 978944, "depth": 0, "present": true, "zero": true, "data": false, "compr… 14 { "start": 983040, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "comp… 15 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 16 { "start": 4096, "length": 978944, "depth": 0, "present": true, "zero": true, "data": false, "compr… 17 { "start": 983040, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "comp…
|
H A D | 223.out | 97 flags: 0x1ded ( flush fua trim zeroes df multi cache fast-zero block-status-payload ) 126 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 127 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 128 { "start": 1048576, "length": 3145728, "depth": 0, "present": true, "zero": false, "data": true, "c… 129 [{ "start": 0, "length": 65536, "depth": 0, "present": false, "zero": false, "data": false, "compre… 130 { "start": 65536, "length": 2031616, "depth": 0, "present": true, "zero": false, "data": true, "com… 131 { "start": 2097152, "length": 2097152, "depth": 0, "present": false, "zero": false, "data": false, … 135 [{ "start": 0, "length": 512, "depth": 0, "present": true, "zero": false, "data": true, "compressed… 136 { "start": 512, "length": 512, "depth": 0, "present": false, "zero": false, "data": false, "compres… 137 { "start": 1024, "length": 2096128, "depth": 0, "present": true, "zero": false, "data": true, "comp… [all …]
|
H A D | 221.out | 8 [{ "start": 0, "length": 66048, "depth": 0, "present": true, "zero": true, "data": false, "compress… 9 [{ "start": 0, "length": 66048, "depth": 0, "present": true, "zero": true, "data": false, "compress… 12 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": true, "data": false, "compress… 13 { "start": 65536, "length": 1, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 14 { "start": 65537, "length": 511, "depth": 0, "present": true, "zero": true, "data": false, "compres… 15 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": true, "data": false, "compress… 16 { "start": 65536, "length": 1, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 17 { "start": 65537, "length": 511, "depth": 0, "present": true, "zero": true, "data": false, "compres…
|
H A D | 274.out | 23 [{ "start": 0, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "compre… 28 [{ "start": 0, "length": 1048576, "depth": 1, "present": true, "zero": false, "data": true, "compre… 33 [{ "start": 0, "length": 1048576, "depth": 2, "present": true, "zero": false, "data": true, "compre… 34 { "start": 1048576, "length": 1048576, "depth": 0, "present": false, "zero": true, "data": false, "… 189 [{ "start": 0, "length": 1073741824, "depth": 1, "present": false, "zero": true, "data": false, "co… 190 { "start": 1073741824, "length": 7516192768, "depth": 0, "present": true, "zero": true, "data": fal… 204 [{ "start": 0, "length": 32212254720, "depth": 1, "present": false, "zero": true, "data": false, "c… 205 { "start": 32212254720, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": fal… 206 { "start": 32749125632, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": fal… 207 { "start": 33285996544, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": fal… [all …]
|
H A D | 066 | 4 # Test case for preallocated zero clusters in qcow2 43 # We need zero clusters and snapshots 55 # Write some normal clusters, zero some of them (creating preallocated 56 # zero clusters) and discard everything. Everything should now read as 0. 70 echo '=== Writing to preallocated zero clusters ===' 79 # Convert the data clusters to preallocated zero clusters 112 echo '=== Writing to a snapshotted preallocated zero cluster ===' 117 # Create a preallocated zero cluster 139 echo '=== Consecutive write to a preallocated zero cluster ===' 148 # Make the middle cluster a preallocated zero cluster
|
H A D | 204 | 42 # This test assumes that discard leaves zero clusters; see test 177 for 67 echo "== write zero with constrained max-transfer ==" 68 limits=align=512,max-transfer=64k,opt-write-zero=$CLUSTER_SIZE 72 # non-power-of-2 write-zero/discard alignments 76 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M 83 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
|
H A D | 177 | 66 echo "== write zero with constrained max-transfer ==" 67 limits=align=512,max-transfer=64k,opt-write-zero=$CLUSTER_SIZE 71 # non-power-of-2 write-zero/discard alignments 75 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M 82 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
|
H A D | 154 | 47 # This test requires zero clusters, added in v3 images 59 # X = non-zero data sector in backing file 75 echo == backing file contains non-zero data before write_zeroes == 80 # Single cluster; non-zero data at the cluster start 87 # Single cluster; non-zero data exists, but not at the cluster start 98 echo == backing file contains non-zero data after write_zeroes == 103 # Single cluster; non-zero data directly after request 111 # Single cluster; non-zero data exists, but not directly after request 121 echo == write_zeroes covers non-zero data == 126 # non-zero data at front of request [all …]
|
H A D | 241.out | 10 [{ "start": 0, "length": 1000, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 11 { "start": 1000, "length": 24, "depth": 0, "present": true, "zero": true, "data": false, "compresse… 21 [{ "start": 0, "length": 1024, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 34 [{ "start": 0, "length": 1000, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 35 { "start": 1000, "length": 24, "depth": 0, "present": true, "zero": true, "data": false, "compresse…
|
/qemu/util/ |
H A D | cpuinfo-riscv.c | 108 /* Probe for Zba: add.uw zero,zero,zero. */ in cpuinfo_init() 110 asm volatile(".insn r 0x3b, 0, 0x04, zero, zero, zero" in cpuinfo_init() 117 /* Probe for Zbb: andn zero,zero,zero. */ in cpuinfo_init() 119 asm volatile(".insn r 0x33, 7, 0x20, zero, zero, zero" in cpuinfo_init() 126 /* Probe for Zbs: bext zero,zero,zero. */ in cpuinfo_init() 128 asm volatile(".insn r 0x33, 5, 0x24, zero, zero, zero" in cpuinfo_init() 135 /* Probe for Zicond: czero.eqz zero,zero,zero. */ in cpuinfo_init() 137 asm volatile(".insn r 0x33, 5, 0x07, zero, zero, zero" in cpuinfo_init() 155 asm volatile(".insn i 0x73, 0x2, %0, zero, -990" : "=r"(vlenb)); in cpuinfo_init()
|
/qemu/target/riscv/insn_trans/ |
H A D | trans_rvm.c.inc | 33 TCGv zero = tcg_constant_tl(0); 38 tcg_gen_add2_tl(r1, r2, r1, zero, tmpl, tmph); 56 TCGv zero = tcg_constant_tl(0); 60 tcg_gen_add2_tl(rh, tmpx, rh, zero, tmpl, tmph); 178 TCGv temp1, temp2, zero, one, mone, min; 182 zero = tcg_constant_tl(0); 194 tcg_gen_movcond_tl(TCG_COND_NE, temp2, temp1, zero, one, source2); 197 * If div by zero, set temp1 to -1 and temp2 to 1 to 200 tcg_gen_movcond_tl(TCG_COND_EQ, temp1, source2, zero, mone, source1); 201 tcg_gen_movcond_tl(TCG_COND_EQ, temp2, source2, zero, one, temp2); [all …]
|
H A D | trans_rvzicond.c.inc | 26 /* Emits "$rd = ($rs2 <cond> $zero) ? $zero : $rs1" */ 29 TCGv zero = tcg_constant_tl(0); 30 tcg_gen_movcond_tl(cond, dest, src2, zero, zero, src1);
|
H A D | trans_rvi.c.inc | 63 /* per spec, label check performed only when embedded label non-zero */ 237 TCGv zero = tcg_constant_tl(0); 244 tcg_gen_sub2_tl(tmp, rh, ah, one, tmp, zero); 245 tcg_gen_sub2_tl(tmp, rl, tmp, rh, bh, zero); 711 TCGv zero = tcg_constant_tl(0); 721 tcg_gen_movcond_tl(TCG_COND_NE, lr, shamt, zero, lr, zero); 724 tcg_gen_movcond_tl(TCG_COND_NE, destl, hs, zero, zero, ll); 725 tcg_gen_movcond_tl(TCG_COND_NE, desth, hs, zero, ll, h1); 753 TCGv zero = tcg_constant_tl(0); 763 tcg_gen_movcond_tl(TCG_COND_NE, ll, shamt, zero, ll, zero); [all …]
|
/qemu/migration/ |
H A D | multifd-zero-page.c | 2 * Multifd zero page detection implementation. 41 * multifd_send_zero_page_detect: Perform zero page detection on all pages. 43 * Sorts normal pages before zero pages in p->pages->offset and updates 62 * the left and all zero pages to the right of the array. in multifd_send_zero_page_detect() 87 void *page = p->host + p->zero[i]; in multifd_recv_zero_page_process() 89 ramblock_recv_bitmap_test_byte_offset(p->block, p->zero[i]); in multifd_recv_zero_page_process() 92 * During multifd migration zero page is written to the memory in multifd_recv_zero_page_process() 96 * enabled. If the zero page which was skipped during multifd phase, in multifd_recv_zero_page_process() 99 * 'receivedmap' says the zero page is already received. Thus the in multifd_recv_zero_page_process() 102 * When postcopy is enabled, always write the zero page as and when in multifd_recv_zero_page_process() [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | commit-zero-blocks.out | 1 QA output created by commit-zero-blocks 14 [{ "start": 0, "length": 65536, "depth": 0, "present": false, "zero": true, "data": false, "compres… 15 { "start": 65536, "length": 131072, "depth": 0, "present": true, "zero": false, "data": true, "comp… 16 { "start": 196608, "length": 851968, "depth": 0, "present": false, "zero": true, "data": false, "co… 24 [{ "start": 0, "length": 65536, "depth": 1, "present": false, "zero": true, "data": false, "compres… 25 { "start": 65536, "length": 65536, "depth": 0, "present": true, "zero": true, "data": false, "compr… 26 { "start": 131072, "length": 65536, "depth": 1, "present": true, "zero": false, "data": true, "comp… 27 { "start": 196608, "length": 851968, "depth": 1, "present": false, "zero": true, "data": false, "co… 50 [{ "start": 0, "length": 65536, "depth": 0, "present": false, "zero": true, "data": false, "compres… 51 { "start": 65536, "length": 65536, "depth": 0, "present": true, "zero": true, "data": false, "compr… [all …]
|
H A D | nbd-qemu-allocation.out | 14 [{ "start": 0, "length": 1048576, "depth": 1, "present": true, "zero": false, "data": true, "compre… 15 { "start": 1048576, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 16 { "start": 3145728, "length": 1048576, "depth": 1, "present": false, "zero": true, "data": false, "… 28 [{ "start": 0, "length": 3145728, "depth": 0, "present": true, "zero": false, "data": true, "compre… 29 { "start": 3145728, "length": 1048576, "depth": 0, "present": true, "zero": true, "data": false, "c… 30 [{ "start": 0, "length": 1048576, "depth": 0, "present": true, "zero": true, "data": true, "compres… 31 { "start": 1048576, "length": 2097152, "depth": 0, "present": false, "zero": false, "data": false, … 32 { "start": 3145728, "length": 1048576, "depth": 0, "present": true, "zero": false, "data": true, "c…
|
H A D | qemu-img-bitmaps.out | 106 [{ "start": 0, "length": 3145728, "depth": 0, "present": true, "zero": false, "data": true, "compre… 107 { "start": 3145728, "length": 1048576, "depth": 0, "present": false, "zero": false, "data": false, … 108 { "start": 4194304, "length": 6291456, "depth": 0, "present": true, "zero": false, "data": true, "c… 109 [{ "start": 0, "length": 1048576, "depth": 0, "present": true, "zero": false, "data": true, "compre… 110 { "start": 1048576, "length": 1048576, "depth": 0, "present": false, "zero": false, "data": false, … 111 { "start": 2097152, "length": 8388608, "depth": 0, "present": true, "zero": false, "data": true, "c… 112 [{ "start": 0, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "compre… 113 { "start": 2097152, "length": 1048576, "depth": 0, "present": false, "zero": false, "data": false, … 114 { "start": 3145728, "length": 7340032, "depth": 0, "present": true, "zero": false, "data": true, "c… 115 [{ "start": 0, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "compre… [all …]
|
/qemu/hw/acpi/ |
H A D | tpm.c | 26 *not_implemented, *pak, *tpm2, *tpm3, *pprm, *pprq, *zero, *one; in tpm_build_ppi_acpi() local 32 zero = aml_int(0); in tpm_build_ppi_acpi() 75 aml_append(ifctx, aml_return(zero)); in tpm_build_ppi_acpi() 94 aml_append(pak, zero); in tpm_build_ppi_acpi() 95 aml_append(pak, zero); in tpm_build_ppi_acpi() 100 aml_append(pak, zero); in tpm_build_ppi_acpi() 101 aml_append(pak, zero); in tpm_build_ppi_acpi() 102 aml_append(pak, zero); in tpm_build_ppi_acpi() 124 ifctx2 = aml_if(aml_equal(function, zero)); in tpm_build_ppi_acpi() 163 zero)), op)); in tpm_build_ppi_acpi() [all …]
|
/qemu/include/qemu/ |
H A D | lockcnt.h | 30 * Initialize lockcnt's counter to zero and prepare its mutex 47 * If the lockcnt's count is zero, wait for critical sections 49 * is not zero, just increment it. 76 * Decrement lockcnt's count. If the new count is zero, lock 86 * If the count is 1, decrement the count to zero, lock 96 * also zero. You can use qemu_lockcnt_count to check for this inside a 126 * is non-zero.
|
/qemu/tests/tcg/riscv64/ |
H A D | semicall.h | 16 "slli zero, zero, 0x1f\n\t" in __semi_call() 18 "srai zero, zero, 0x7\n\t" in __semi_call()
|