/qemu/tests/qemu-iotests/ |
H A D | 149.out | 5 …s-plain64 --key-size 512 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-25… 10 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-… 12 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 16 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-… 18 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 23 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts d… 25 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 28 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-op… 30 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 33 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts … [all …]
|
H A D | 250 | 50 # of 512M sequential data, corresponding to one L1 entry), and we need some 55 size=2100M 57 _make_test_img -o "cluster_size=1M,preallocation=metadata" $size 58 $QEMU_IO -c 'discard 0 10M' -c 'discard 2090M 10M' \ 59 -c 'write 2090M 10M' -c 'write 0 10M' "$TEST_IMG" | _filter_qemu_io 61 # Check that our trick with swapping first and last 10M chunks succeeded. 67 $QEMU_IMG resize --shrink "$TEST_IMG" 5M
|
H A D | 298 | 35 iotests.qemu_img_create('-f', iotests.imgfmt, disk, str(10 * MiB)) 51 self.assertTrue(os.path.getsize(disk) < 10 * MiB) 58 p.cmd('write 0 1M') 77 self.vm.hmp_qemu_io('drive0', 'write 0 1M') 90 self.vm.hmp_qemu_io('drive0', 'write 1M 1M') 115 self.vm.hmp_qemu_io('drive0', 'write 0 1M') 121 iotests.qemu_img_create('-f', iotests.imgfmt, disk, str(10 * MiB)) 122 iotests.qemu_img_create('-f', iotests.imgfmt, refdisk, str(10 * MiB)) 129 iotests.qemu_io('--image-opts', '-c', 'write 0 10M', '-c', 130 f'truncate -m {prealloc_mode} {new_size}', [all …]
|
H A D | 070 | 48 # This image is a 10G dynamic image, with 4M block size, and 1 unplayed 54 _use_sample_img iotest-dirtylog-10G-4M.vhdx.bz2 58 $QEMU_IO -r -c "read -pP 0xa5 0 18M" "$TEST_IMG" 2>&1 | _filter_testdir \ 62 $QEMU_IO -c "read -pP 0xa5 0 18M" "$TEST_IMG" | _filter_qemu_io 65 _use_sample_img iotest-dirtylog-10G-4M.vhdx.bz2 71 $QEMU_IO -r -c "read -pP 0xa5 0 18M" "$TEST_IMG" 2>&1 | _filter_testdir \
|
H A D | 070.out | 4 …o: can't open device TEST_DIR/iotest-dirtylog-10G-4M.vhdx: VHDX image file 'TEST_DIR/iotest-dirtyl… 6 qemu-img check -r all 'TEST_DIR/iotest-dirtylog-10G-4M.vhdx'
|
H A D | 059 | 55 _make_test_img 64M 61 _make_test_img 64M 67 _make_test_img 64M 108 truncate -s 10M $TEST_IMG 123 _make_test_img -o "subformat=monolithicFlat" 64M 132 _make_test_img -o "subformat=monolithicFlat" 64M 160 … $QEMU_IO -r -c "read -P $(( i % 10 + 0x30 )) $(( i * 64 * 1024 * 10 + i * 512 )) 512" $TEST_IMG \
|
H A D | 312 | 60 TEST_IMG="$TEST_IMG.0" _make_test_img -o cluster_size=64k 10M 61 TEST_IMG="$TEST_IMG.1" _make_test_img -o cluster_size=64k 10M 62 TEST_IMG="$TEST_IMG.2" _make_test_img -o cluster_size=64k 10M 63 TEST_IMG="$TEST_IMG.3" _make_test_img -o cluster_size=64k 10M
|
H A D | 245 | 49 qemu_img('create', '-f', iotests.imgfmt, hd_path[0], '3M') 52 qemu_img('create', '-f', iotests.imgfmt, hd_path[2], '3M') 53 qemu_io('-f', iotests.imgfmt, '-c', 'write -P 0xa0 0 1M', hd_path[0]) 54 qemu_io('-f', iotests.imgfmt, '-c', 'write -P 0xa1 1M 1M', hd_path[1]) 55 qemu_io('-f', iotests.imgfmt, '-c', 'write -P 0xa2 2M 1M', hd_path[2]) 335 qemu_img('create', '-f', 'raw', hd_path[0], '2M') 336 qemu_io('-f', 'raw', '-c', 'write -P 0xa0 0 1M', hd_path[0]) 337 qemu_io('-f', 'raw', '-c', 'write -P 0xa1 1M 1M', hd_path[0]) 343 self.run_qemu_io("hd0", "read -P 0xa0 0 1M") 348 self.run_qemu_io("hd0", "read -P 0xa1 0 1M") [all …]
|
H A D | 154 | 69 $QEMU_IO -c "write -z 10k 2k" "$TEST_IMG" | _filter_qemu_io 251 $QEMU_IO -c "read -P 0 66k 10k" "$TEST_IMG" | _filter_qemu_io 281 $QEMU_IO -c "read -P 0 64k 10k" "$TEST_IMG" | _filter_qemu_io 295 $QEMU_IO -c "write -P 0x11 65k 10k" "$TEST_IMG.base" | _filter_qemu_io 312 # Write at the front: sector-wise, the request is: 128m... | 00 -- -- -- 318 # Write at the back: sector-wise, the request is: 128m... | -- -- -- 00 324 # Write at middle: sector-wise, the request is: 128m... | -- 00 00 -- 330 # Write entire cluster: sector-wise, the request is: 128m... | 00 00 00 00 340 # backing: 128m... | -- -- 341 # active: 128m... | 00 -- -- -- [all …]
|
H A D | 049 | 58 sizes="1024 1024b 1k 1K 1M 1G 1T " 59 sizes+="1024.0 1024.0b 1.5k 1.5K 1.5M 1.5G 1.5T" 85 test_qemu_img create -f $IMGFMT -o size=10M "$TEST_IMG" 20M 89 sizes="1024 1024b 1k 1K 1M " 90 sizes+="1024.0 1024.0b 0.5k 0.5K 0.5M" 93 test_qemu_img create -f $IMGFMT -o cluster_size=$s "$TEST_IMG" 64M 98 test_qemu_img create -f $IMGFMT -o compat=0.10 "$TEST_IMG" 64M 99 test_qemu_img create -f $IMGFMT -o compat=1.1 "$TEST_IMG" 64M 101 test_qemu_img create -f $IMGFMT -o compat=0.42 "$TEST_IMG" 64M 102 test_qemu_img create -f $IMGFMT -o compat=foobar "$TEST_IMG" 64M [all …]
|
/qemu/tests/tcg/i386/ |
H A D | test-i386.c | 266 TEST_LEA("-10(%%ecx, %%ecx, 2)"); in test_lea() 267 TEST_LEA("-10(%%edx, %%ecx, 4)"); in test_lea() 268 TEST_LEA("-10(%%esi, %%ecx, 8)"); in test_lea() 322 TEST_LEAQ("-10(%%rcx, %%rcx, 2)"); in test_lea() 323 TEST_LEAQ("-10(%%rdx, %%rcx, 4)"); in test_lea() 324 TEST_LEAQ("-10(%%rsi, %%rcx, 8)"); in test_lea() 359 printf("%-10s %d\n", "j" JCC, res);\ 366 printf("%-10s %d\n", "set" JCC, res);\ 374 : "r" (v1), "r" (v2), "m" (val), "0" (res));\ 375 printf("%-10s R=" FMTLX "\n", "cmov" JCC "q", res);)\ [all …]
|
/qemu/net/can/ |
H A D | can_core.c | 52 10, 10, 10, 10, /* 13 - 16 */ 131 int m; in can_bus_filter_match() local 135 m = (can_id & filter->can_mask) == (filter->can_id & filter->can_mask); in can_bus_filter_match() 136 return filter->can_id & QEMU_CAN_INV_FILTER ? !m : m; in can_bus_filter_match()
|
/qemu/target/tricore/ |
H A D | fpu_helper.c | 180 * partitioned into Sign (S), Exponent (E) and Significand (M): 182 * S E E E E E E E E M M M M M M ... 188 * output E output M 203 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2 208 uint32_t arg1, S, E, M, E_minus_one, m_idx; in helper_qseed() local 213 /* fetch IEEE-754 fields S, E and the uppermost 6-bit of M */ in helper_qseed() 216 M = extract32(arg1, 17, 6); in helper_qseed() 232 m_idx = ((E_minus_one & 1) << 6) | M; in helper_qseed() 385 * Softfloat on the other hand uses the top 10 mantissa bits. in helper_hptof() 421 * Softfloat on the other hand uses the top 10 mantissa bits. in helper_ftohp() [all …]
|
/qemu/target/hppa/ |
H A D | insns.decode | 28 %assemble_12 0:s1 2:1 3:10 !function=expand_shl2 31 %assemble_17 0:s1 16:5 2:1 3:10 !function=expand_shl2 32 %assemble_22 0:s1 16:10 2:1 3:10 !function=expand_shl2 37 %lowsign_11 0:s1 1:10 39 %sm_imm 16:10 !function=expand_sm_imm 71 &ldst t b x disp sp m scale size 147 @addrx ...... b:5 x:5 .. ........ m:1 ..... \ 172 pxtlb 000001 b:5 x:5 sp:2 01001000 m:1 ----- \ 174 pxtlb 000001 b:5 x:5 ... 0001000 m:1 ----- \ 178 pxtlb_l 000001 b:5 x:5 sp:2 01011000 m:1 ----- \ [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | qemu-img-bitmaps | 61 TEST_IMG="$TEST_IMG.base" _make_test_img 10M 63 $QEMU_IO -c 'w 3M 1M' -f $IMGFMT "$TEST_IMG.base" | _filter_qemu_io 68 _make_test_img -b "$ORIG_IMG.base" -F $IMGFMT 10M 69 $QEMU_IO -c 'w 0 1M' -f $IMGFMT "$TEST_IMG" | _filter_qemu_io 72 $QEMU_IO -c 'w 3M 1M' -f $IMGFMT "$TEST_IMG" | _filter_qemu_io 74 $QEMU_IO -c 'w 1M 1M' -f $IMGFMT "$TEST_IMG" | _filter_qemu_io 77 $QEMU_IO -c 'w 2M 1M' -f $IMGFMT "$TEST_IMG" | _filter_qemu_io
|
/qemu/tests/qtest/ |
H A D | adm1272-test.c | 86 uint16_t y = (c.m * value + c.b) * pow(10, c.R); in pmbus_data2direct_mode() 92 /* X = (Y * 10^-R - b) / m */ in pmbus_direct_mode2data() 93 uint32_t x = (value / pow(10, c.R) - c.b) / c.m; in pmbus_direct_mode2data() 117 /* Y = (m * r_sense * x - b) * 10^R */ in adm1272_milliamps_to_direct() 118 c.m = c.m * ADM1272_SHUNT / 1000; /* micro-ohms */ in adm1272_milliamps_to_direct() 127 c.m = c.m * ADM1272_SHUNT / 1000; in adm1272_direct_to_milliamps() 136 c.m = c.m * ADM1272_SHUNT / 1000; in adm1272_watts_to_direct() 143 c.m = c.m * ADM1272_SHUNT / 1000; in adm1272_direct_to_watts()
|
H A D | stm32l4x5_usart-test.c | 26 FIELD(CR1, PCE, 10, 1) 73 * the meson harness will timeout after 10 minutes for us. 202 QTestState *qts = qtest_init("-M b-l475e-iot01a"); in test_write_read() 216 QTestState *qts = qtest_init_with_serial("-M b-l475e-iot01a", &sock_fd); in test_receive_char() 246 QTestState *qts = qtest_init_with_serial("-M b-l475e-iot01a", &sock_fd); in test_send_char() 274 char s[10]; in test_receive_str() 275 QTestState *qts = qtest_init_with_serial("-M b-l475e-iot01a", &sock_fd); in test_receive_str() 290 char s[10]; in test_send_str() 291 QTestState *qts = qtest_init_with_serial("-M b-l475e-iot01a", &sock_fd); in test_send_str() 296 g_assert_true(recv(sock_fd, s, 10, 0) == 5); in test_send_str() [all …]
|
/qemu/host/include/ppc/host/crypto/ |
H A D | aes-round.h | 30 asm("lvx %0, 0, %1" : "=v"(r) : "r"(p), "m"(*p)); in aes_accel_ld() 33 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, in aes_accel_ld() 37 : "=v"(r) : "r"(p), "v"(rev), "m"(*p)); in aes_accel_ld() 40 asm("lxvb16x %x0, 0, %1" : "=v"(r) : "r"(p), "m"(*p)); in aes_accel_ld() 44 : "=v"(r) : "r"(p), "m"(*p)); in aes_accel_ld() 53 asm("stvx %1, 0, %2" : "=m"(*p) : "v"(r), "r"(p)); in aes_accel_st() 56 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, in aes_accel_st() 60 : "=m"(*p), "+v"(r) : "v"(rev), "r"(p)); in aes_accel_st() 63 asm("stxvb16x %x1, 0, %2" : "=m"(*p) : "v"(r), "r"(p)); in aes_accel_st() 67 : "=m"(*p), "+v"(r) : "r"(p)); in aes_accel_st()
|
/qemu/docs/system/arm/ |
H A D | sabrelite.rst | 42 Linux mainline v5.10 release is tested at the time of writing. To build a Linux 57 $ qemu-system-arm -M sabrelite -smp 4 -m 1G \ 67 U-Boot mainline v2020.10 release is tested at the time of writing. To build a 91 $ qemu-system-arm -M sabrelite -smp 4 -m 1G \
|
/qemu/docs/devel/migration/ |
H A D | qatzip-compression.rst | 9 The following test was conducted using 8 multifd channels and 10Gbps network 139 - 10M 140 - 10M 142 - 12M 143 - 14M 145 - 16M 146 - 20M
|
/qemu/hw/i386/ |
H A D | pc_q35.c | 339 static void pc_q35_machine_options(MachineClass *m) in pc_q35_machine_options() argument 341 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_q35_machine_options() 345 m->family = "pc_q35"; in pc_q35_machine_options() 346 m->desc = "Standard PC (Q35 + ICH9, 2009)"; in pc_q35_machine_options() 347 m->units_per_default_bus = 1; in pc_q35_machine_options() 348 m->default_machine_opts = "firmware=bios-256k.bin"; in pc_q35_machine_options() 349 m->default_display = "std"; in pc_q35_machine_options() 350 m->default_nic = "e1000e"; in pc_q35_machine_options() 351 m->default_kernel_irqchip_split = false; in pc_q35_machine_options() 352 m->no_floppy = 1; in pc_q35_machine_options() [all …]
|
H A D | pc_piix.c | 148 * qemu -M pc-1.7 -m 4G (old default) -> 3584M low, 512M high in pc_init1() 149 * qemu -M pc -m 4G (new default) -> 3072M low, 1024M high in pc_init1() 150 * qemu -M pc,max-ram-below-4g=2G -m 4G -> 2048M low, 2048M high in pc_init1() 151 * qemu -M pc,max-ram-below-4g=4G -m 3968M -> 3968M low (=4G-128M) in pc_init1() 460 static void pc_i440fx_machine_options(MachineClass *m) in pc_i440fx_machine_options() argument 462 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_options() 463 ObjectClass *oc = OBJECT_CLASS(m); in pc_i440fx_machine_options() 468 m->family = "pc_piix"; in pc_i440fx_machine_options() 469 m->desc = "Standard PC (i440FX + PIIX, 1996)"; in pc_i440fx_machine_options() 470 m->default_machine_opts = "firmware=bios-256k.bin"; in pc_i440fx_machine_options() [all …]
|
/qemu/include/hw/misc/ |
H A D | aspeed_scu.h | 112 * 10:8 Video port output clock delay control bit 129 * 10:5 H-PLL Numerator 147 * 12:5 H-PLL Numerator (M) 150 * (Output frequency) = CLKIN(24MHz) * [(M+1) / (N+1)] / (P+1) 175 * 11:10 CPU/AHB clock frequency ratio selection 227 #define SCU_AST2400_HW_STRAP_SET_CPU_AHB_RATIO(x) ((x) << 10) 228 #define SCU_AST2400_HW_STRAP_GET_CPU_AHB_RATIO(x) (((x) >> 10) & 3) 229 #define SCU_AST2400_HW_STRAP_CPU_AHB_RATIO_MASK (0x3 << 10) 344 * 18:13 H-PLL Numerator (M) 347 * (Output frequency) = CLKIN(25MHz) * [(M+1) / (N+1)] / (P+1) [all …]
|
/qemu/.gitlab/issue_templates/ |
H A D | bug.md | 21 - Operating system: <!-- Windows 10 21H1, Fedora 37, etc. --> 34 ./qemu-system-x86_64 -M q35 -m 4096 -enable-kvm -hda fedora32.qcow2 38 - Operating system: <!-- Windows 10 21H1, Fedora 37, etc. -->
|
/qemu/monitor/ |
H A D | monitor-internal.h | 50 * 'M' Non-negative target long (32 or 64 bit), in user mode the 53 * user mode accepts an optional E, e, P, p, T, t, G, g, M, m, 56 * 2^30 for suffixes G and g, 2^20 for M and m, 2^10 for K and k 60 * '/' optional gdb-like print format (like "/10x")
|