/qemu/tests/qemu-iotests/ |
H A D | 077 | 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 # You should have received a copy of the GNU General Public License 55 # A simple RMW request 57 aio_write -P 10 0x200 0x200 65 break pwritev_rmw_$ev A 66 aio_write -P 10 $((off + 0x200)) 0x200 67 wait_break A 70 resume A 78 break pwritev_rmw_after_tail A 79 aio_write -P 10 0x5000 0x200 [all …]
|
H A D | 081.out | 10 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 14 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 16 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 18 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 22 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 26 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 36 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 44 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 48 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 68 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) [all …]
|
H A D | 293 | 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 # You should have received a copy of the GNU General Public License 69 echo "== creating a test image ==" 70 _make_test_img $S0 $EXTRA_IMG_ARGS -o ${PR}key-secret=sec0,${PR}iter-time=10 32M 77 echo "== adding a password to slot 4 ==" 78 $QEMU_IMG amend $SECRETS $IMGS0 -o ${PR}state=active,${PR}new-secret=sec4,${PR}iter-time=10,${PR}ke… 79 echo "== adding a password to slot 1 ==" 80 $QEMU_IMG amend $SECRETS $IMGS0 -o ${PR}state=active,${PR}new-secret=sec1,${PR}iter-time=10 81 echo "== adding a password to slot 3 ==" 82 $QEMU_IMG amend $SECRETS $IMGS1 -o ${PR}state=active,${PR}new-secret=sec3,${PR}iter-time=10,${PR}ke… [all …]
|
H A D | 250 | 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 # You should have received a copy of the GNU General Public License 46 # This test checks that qcow2_process_discards does not truncate a discard 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.
|
H A D | 093 | 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 # You should have received a copy of the GNU General Public License 62 # IO throttling algorithm is discrete, allow 10% error so the test 68 # Set vm clock to a known value 144 # Connect N drives to a VM and test I/O in all of them 149 "iops": 10, 150 "iops_rd": 10, 151 "iops_wr": 10, 162 # Connect N drives to a VM and test I/O in just one of them a time 167 "iops": 10, [all …]
|
H A D | 149 | 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 # You should have received a copy of the GNU General Public License 34 """Represent configuration parameters for a single LUKS 130 """Add another password to a LUKS key slot""" 142 "--iter-time", "10", 151 """Format a new LUKS volume with cryptsetup, adding the 171 args.extend(["--iter-time", "10"]) 178 """Set the ownership of a open LUKS device to this user""" 196 """Open an image as a LUKS device""" 213 """Delete a disk image""" [all …]
|
/qemu/docs/specs/ |
H A D | ppc-spapr-numa.rst | 14 Associativity is defined as a group of platform resources that has 74 belonging to the first NUMA level have distance equal to 10 from each 113 P1 and P2 does not have a common performance boundary. Since this is a one level 118 In a hypothetical platform where all resources inside the same hardware module 134 is 10. 142 value between the relevant resources. LOPAPR does not provide a standard 144 provides a common-performance hierarchy, and the ibm,associativity-reference-points 154 * both resources in the first NUMA level: 10 178 around for such a long time, with users seeing NUMA distances 10 and 40 191 User input for NUMA distance can vary from 10 to 254. We need to translate [all …]
|
H A D | pci-ids.rst | 5 Red Hat, Inc. donates a part of its device ID range to QEMU, to be used for 8 Contact Gerd Hoffmann <kraxel@redhat.com> to get a device ID assigned 14 The 1000 -> 10ff device ID range is used as follows for virtio-pci devices. 35 1af4:1040 to 1af4:10ef 39 specification. The Linux kernel has a header file with 40 defines for all virtio IDs (``linux/virtio_ids.h``); QEMU has a 43 1af4:10f0 to 1a4f:10ff 46 upstream merge or shipping a distro/product) to avoid conflicts. 66 PCI serial port (16550A) adapter (:doc:`pci-serial`) 68 PCI Dual-port 16550A adapter (:doc:`pci-serial`) [all …]
|
/qemu/include/standard-headers/drm/ |
H A D | drm_fourcc.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 37 * fourcc code, a Format Modifier may optionally be provided, in order to 43 * Format modifiers are used in conjunction with a fourcc code, forming a 55 * vendor-namespaced, and as such the relationship between a fourcc code and a 60 * Modifiers must uniquely encode buffer layout. In other words, a buffer must 61 * match only a single modifier. A modifier must not be a subset of layouts of 63 * a modifier: a buffer may match a 64-pixel aligned modifier and a 32-pixel 68 * a canonical pair needs to be defined and used by all drivers. Preferred 104 #define fourcc_code(a, b, c, d) ((uint32_t)(a) | ((uint32_t)(b) << 8) | \ argument [all …]
|
/qemu/scripts/codeconverter/codeconverter/ |
H A D | utils.py | 17 def opt_compare(a: T, b: T) -> bool: 19 return (a is None) or (b is None) or (a == b) 21 def merge(a: T, b: T) -> T: 23 assert opt_compare(a, b) 24 if a is None: 27 return a 36 assert merge(None, 10) == 10 37 assert merge(10, None) == 10 38 assert merge(10, 10) == 10 51 """Return line and column for a char position in string [all …]
|
/qemu/include/libdecnumber/ |
H A D | decNumberLocal.h | 19 into a combine executable.) 23 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26 You should have received a copy of the GNU General Public License 67 /* should be a common maximum precision */ 68 /* rounded up to a multiple of 4; must */ 100 extern const uByte DECSTICKYTAB[10]; /* re-round digits if sticky */ 126 /* ROUNDUP -- round an integer up to a multiple of n */ 129 /* ROUNDDOWN -- round an integer down to a multiple of n */ 134 /* Refer to a uInt from four bytes starting at a char* or uByte*, */ 140 /* X10 and X100 -- multiply integer i by 10 or 100 */ [all …]
|
/qemu/target/sparc/ |
H A D | insns.decode | 10 &bcc i a cond cc 11 BPcc 00 a:1 cond:4 001 cc:1 0 - i:s19 &bcc 12 Bicc 00 a:1 cond:4 010 i:s22 &bcc cc=0 13 FBPfcc 00 a:1 cond:4 101 cc:2 - i:s19 &bcc 14 FBfcc 00 a:1 cond:4 110 i:s22 &bcc cc=0 17 BPr 00 a:1 0 cond:3 011 .. - rs1:5 .............. i=%d16 26 ## Major Opcode 10 -- integer, floating-point, vis, and system insns. 91 STBAR 10 00000 101000 01111 0 0000000000000 92 MEMBAR 10 00000 101000 01111 1 000000 cmask:3 mmask:4 94 RDCCR 10 rd:5 101000 00010 0 0000000000000 [all …]
|
/qemu/docs/system/i386/ |
H A D | kvm-pv.rst | 34 Expose a ``KVM`` specific paravirtualized clocksource to the guest. Supported 46 Note: since Linux v5.10 the feature is deprecated and not enabled by ``KVM``. 55 v3.10. 68 v5.10. 71 Enable paravirtualized sched yield feature. Supported since Linux v5.10. 75 v5.10. 80 the number of supported vCPUs for a given configuration lower). Supported since 81 Linux v5.10. 94 CPUIDs. Supported since Linux v5.10.
|
/qemu/target/arm/tcg/ |
H A D | sme-fa64.decode | 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 # You should have received a copy of the GNU Lesser General Public 22 # These patterns are taken from Appendix E1.1 of DDI0616 A.a, 24 # The Scalable Matrix Extension (SME), for Armv9-A 42 OK 0101 1110 -10- ---- 00-1 11-- ---- ---- # FMULX/FRECPS/FRSQRTS (scalar, FP16) 43 OK 01-1 1110 1-10 0001 11-1 10-- ---- ---- # FRECPE/FRSQRTE/FRECPX (scalar) 44 OK 01-1 1110 1111 1001 11-1 10-- ---- ---- # FRECPE/FRSQRTE/FRECPX (scalar, FP16) 56 # --10 110- ---- ---- ---- ---- ---- ---- # Load/store pair of FP registers 59 # --11 1100 --1- ---- ---- ---- ---- --10 # Load/store FP register (register offset)
|
H A D | neon-shared.decode | 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 # You should have received a copy of the GNU Lesser General Public 38 # which is 0 for fp16 and 1 for fp32 into a MO_* constant. 49 VSDOT 1111 110 00 . 10 .... .... 1101 . q:1 . 0 .... \ 51 VUDOT 1111 110 00 . 10 .... .... 1101 . q:1 . 1 .... \ 53 VUSDOT 1111 110 01 . 10 .... .... 1101 . q:1 . 0 .... \ 59 VFML 1111 110 0 s:1 . 10 .... .... 1000 . 0 . 1 .... \ 61 VFML 1111 110 0 s:1 . 10 .... .... 1000 . 1 . 1 .... \ 81 VSDOT_scalar 1111 1110 0 . 10 .... .... 1101 . q:1 index:1 0 vm:4 \ 83 VUDOT_scalar 1111 1110 0 . 10 .... .... 1101 . q:1 index:1 1 vm:4 \
|
/qemu/ |
H A D | qemu-edid.c | 21 "This is a test tool for the qemu edid generator.\n" in usage() 67 if (qemu_strtoui(optarg, NULL, 10, &info.prefx) < 0) { in main() 68 fprintf(stderr, "not a number: %s\n", optarg); in main() 73 if (qemu_strtoui(optarg, NULL, 10, &info.prefy) < 0) { in main() 74 fprintf(stderr, "not a number: %s\n", optarg); in main() 79 if (qemu_strtoui(optarg, NULL, 10, &info.maxx) < 0) { in main() 80 fprintf(stderr, "not a number: %s\n", optarg); in main() 85 if (qemu_strtoui(optarg, NULL, 10, &info.maxy) < 0) { in main() 86 fprintf(stderr, "not a number: %s\n", optarg); in main() 91 if (qemu_strtoui(optarg, NULL, 10, &dpi) < 0) { in main() [all …]
|
/qemu/tests/unit/ |
H A D | test-qht.c | 18 const int32_t *a = ap; in is_equal() local 21 return *a == *b; in is_equal() 24 static void insert(int a, int b) in insert() argument 28 for (i = a; i < b; i++) { in insert() 70 static void check(int a, int b, bool expected) in check() argument 76 for (i = a; i < b; i++) { in check() 128 uint32_t a = *(uint32_t *)p; in sum_func() local 130 *sum += a; in sum_func() 143 uint32_t a = *(uint32_t *)p; in rm_mod_func() local 146 return a % mod == 0; in rm_mod_func() [all …]
|
/qemu/tests/tcg/i386/ |
H A D | test-i386-shift.h | 40 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opq() 54 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opl() 67 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opw() 91 printf("%-10s A=" FMTLX " B=" FMTLX " C=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opq() 105 printf("%-10s A=" FMTLX " B=" FMTLX " C=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opl() 118 printf("%-10s A=" FMTLX " B=" FMTLX " C=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opw() 134 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CCIN=%04lx CC=%04lx\n", in exec_opb()
|
H A D | test-i386-muldiv.h | 14 : "=a" (res), "=g" (flags) in glue() 16 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CC=%04lx\n", in glue() 32 : "=a" (res), "=g" (flags), "=d" (resh) in glue() 34 printf("%-10s AH=" FMTLX " AL=" FMTLX " B=" FMTLX " RH=" FMTLX " RL=" FMTLX " CC=%04lx\n", in glue() 50 : "=a" (res), "=g" (flags), "=d" (resh) in glue() 52 printf("%-10s AH=" FMTLX " AL=" FMTLX " B=" FMTLX " RH=" FMTLX " RL=" FMTLX " CC=%04lx\n", in glue() 69 : "=a" (res), "=g" (flags), "=d" (resh) in glue() 71 printf("%-10s AH=" FMTLX " AL=" FMTLX " B=" FMTLX " RH=" FMTLX " RL=" FMTLX " CC=%04lx\n", in glue()
|
/qemu/docs/about/ |
H A D | emulation.rst | 4 QEMU's Tiny Code Generator (TCG) provides the ability to emulate a 10 :widths: 30 10 10 50 36 - A legacy RISC system used in HP's old minicomputers 44 - A MIPS-like 64bit RISC architecture developed in China 64 - A general purpose RISC architecture now managed by IBM 72 - A 32 bit micro controller developed by Renesas 76 - A 64 bit CPU found in IBM's System Z mainframes 80 - A 32 bit RISC embedded CPU developed by Hitachi 84 - A RISC ISA originally developed by Sun Microsystems 88 - A 32 bit RISC/uController/DSP developed by Infineon [all …]
|
/qemu/hw/block/ |
H A D | m25p80.c | 7 * Copyright (C) 2012 Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> 13 * (at your option) a later version of the License. 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * You should have received a copy of the GNU General Public License along 65 * there is confusion between manufacturers as to what a sector is. In this 66 * device model, a "sector" is the size that is erased by the ERASE_SECTOR 179 { INFO("at25fs010", 0x1f6601, 0, 32 << 10, 4, ER_4K) }, 180 { INFO("at25fs040", 0x1f6604, 0, 64 << 10, 8, ER_4K) }, 182 { INFO("at25df041a", 0x1f4401, 0, 64 << 10, 8, ER_4K) }, 183 { INFO("at25df321a", 0x1f4701, 0, 64 << 10, 64, ER_4K) }, [all …]
|
/qemu/target/riscv/ |
H A D | insn16.decode | 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 16 # You should have received a copy of the GNU General Public License along with 30 %uimm_cl_q 10:1 5:2 11:2 !function=ex_shift_4 31 %uimm_cl_d 5:2 10:3 !function=ex_shift_3 32 %uimm_cl_w 5:1 10:3 6:1 !function=ex_shift_2 33 %imm_cb 12:s1 5:2 2:1 10:2 3:2 !function=ex_shift_1 42 %uimm_6bit_sd 7:3 10:3 !function=ex_shift_3 154 andi 100 . 10 ... ..... 01 @c_andi 157 or 100 0 11 ... 10 ... 01 @cs_2 173 slli 000 . ..... ..... 10 @c_shift2 [all …]
|
/qemu/tests/migration-stress/guestperf/ |
H A D | comparison.py | 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 # You should have received a copy of the GNU Lesser General Public 51 Scenario("post-copy-bw-10gbs", 77 Scenario("auto-converge-step-10", 78 auto_converge=True, auto_converge_step=10), 93 Scenario("auto-converge-bw-10gbs", 117 Scenario("compr-xbzrle-cache-10", 118 compression_xbzrle=True, compression_xbzrle_cache=10), 120 compression_xbzrle=True, compression_xbzrle_cache=10), 154 Scenario("compr-dirty-limit-10MB", [all …]
|
/qemu/target/microblaze/ |
H A D | mmu.h | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * You should have received a copy of the GNU Lesser General Public 36 #define TLB_EPN_MASK MAKE_64BIT_MASK(10, 64 - 10) 50 #define TLB_RPN_MASK MAKE_64BIT_MASK(10, 64 - 10) 71 /* We keep a separate ram for the tids to avoid the 48 bit tag width. */
|
/qemu/docs/devel/ |
H A D | decodetree.rst | 7 A *decodetree* is built from instruction *patterns*. A pattern may 8 represent a single architectural instruction or a group of same, depending 37 A *named_field* refers to some other field in the instruction pattern 42 Field definitions that involve loops (i.e. where a field is defined 45 A format can include fields that refer to named fields that are 50 a field A that refers to a named field B that is defined in P, and P 51 has a field C that refers to a named field D that is defined in F). 60 a *parameter*, and the named function is only passed the ``DisasContext`` 63 A field with no ``fields`` and no ``!function`` is in error. 72 | %imm9 16:6 10:3 | extract(i, 16, 6) << 3 | extract(i, 10, 3) | [all …]
|