/qemu/tests/functional/ |
H A D | test_x86_cpu_model_versions.py | 35 # all aliases must point to a valid CPU model name: 38 # aliases must not point to aliases 42 # aliases must not be static 89 'unversioned Cascadelake-Server CPU model must not be static') 91 'Cascadelake-Server must not be an alias') 93 'Cascadelake-Server-v1 must not be an alias') 96 'unversioned qemu64 CPU model must not be static') 98 'qemu64 must not be an alias') 100 'qemu64-v1 must not be an alias') 120 'unversioned Cascadelake-Server CPU model must not be static') [all …]
|
/qemu/include/qapi/ |
H A D | visitor-impl.h | 23 * otherwise. In the comments below, some callbacks are marked "must 50 /* Must be set to visit structs */ 57 /* Must be set to visit structs */ 60 /* Must be set; implementations may require @list to be non-null, 61 * but must document it. */ 65 /* Must be set */ 71 /* Must be set */ 74 /* Must be set by input and clone visitors to visit alternates */ 82 /* Must be set */ 86 /* Must be set */ [all …]
|
H A D | visitor.h | 182 * (where the end method must be called if the start function 280 * @obj must be non-NULL for a real walk, in which case @size 320 * @obj must match what was passed to the paired visit_start_struct(). 322 * Must be called after any successful use of visit_start_struct(), 338 * @list must be non-NULL for a real walk, in which case @size 368 * @tail must not be NULL; on the first call, @tail is the value of 369 * *list after visit_start_list(), and on subsequent calls @tail must 396 * @list must match what was passed to the paired visit_start_list(). 398 * Must be called after any successful use of visit_start_list(), even 414 * @obj must not be NULL. Input and clone visitors use @size to [all …]
|
/qemu/docs/interop/ |
H A D | qcow2.rst | 34 Length of the backing file name in bytes. Must not be 41 Must not be less than 9 (i.e. 512 byte clusters). 48 must be at least 14 (i.e. 16384 byte clusters). 74 starts. Must be aligned to a cluster boundary. 78 starts. Must be aligned to a cluster boundary. 88 starts. Must be aligned to a cluster boundary. 96 Bitmask of incompatible features. An implementation must 105 structure may be corrupt and the image must not 114 Standard Cluster Descriptor must match the 123 clusters. The compression_type field must be [all …]
|
H A D | parallels.rst | 45 Must contain "WithoutFreeSpace" or "WithouFreSpacExt". 48 Must be 2. 66 Only the lowest 4 bytes are used. The highest 4 bytes must be 94 data_off must be non-zero and aligned to cluster size. 108 ext_off must meet the same requirements as cluster offsets 125 Cluster offsets specified by BAT entries must meet the following requirements: 127 - the value must not be lower than data offset (provided by ``header.data_off`` 129 - the value must be lower than the desired file size 130 - the value must be unique among all BAT entries 131 - the result of ``(cluster offset - data offset)`` must be aligned to [all …]
|
H A D | qed_spec.rst | 51 - ``cluster_size`` must be a power of 2 in range [2^12, 2^26]. 52 - ``table_size`` must be a power of 2 in range [1, 16]. 58 - An image with unknown ``features`` bits enabled must not be opened. File format 59 changes that are not backwards-compatible must use ``features`` bits. 68 file and must be a multiple of ``cluster_size``. 69 - ``image_size`` is the block device size seen by the guest and must be a multiple 73 The string must be stored within the first ``header_size`` clusters. The backing filename 124 The logical image size must be less than or equal to the maximum possible size of 131 L1, L2, and data cluster offsets must be aligned to ``header.cluster_size``. 146 significant 12 bits of an offset are reserved for this purpose and must be set [all …]
|
H A D | vhost-user.rst | 200 areas within this region must be mapped / unmapped only when required by the 445 * While a ring is stopped, the back-end must not process the ring at 450 * started and disabled: The back-end must process the ring without 452 in the disabled state the back-end must not supply any new RX packets, 453 but must process and discard any TX packets. 455 * started and enabled: The back-end must process the ring normally, i.e. 459 must start a ring upon receiving a kick (that is, detecting that file 469 back-end must enable all rings immediately. 472 must support changing some configuration aspects on the fly. 480 not processing any vring (because they are stopped), the device must: [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 039 | 61 # The dirty bit must not be set 75 # The dirty bit must be set 80 echo "== Read-only access must still work ==" 84 # The dirty bit must be set 88 echo "== Repairing the image file must succeed ==" 92 # The dirty bit must not be set 110 # The dirty bit must be set 115 # The dirty bit must not be set 128 # The dirty bit must not be set since lazy_refcounts=off 143 # The dirty bit must not be set [all …]
|
H A D | 092.out | 5 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 6 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 7 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 8 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 12 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 13 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 14 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 15 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k
|
H A D | 075.out | 11 == block_size must be a multiple of 512 == 12 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 513 must be a multiple of 512 18 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 4294966784 must be 64 MB or le… 21 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: n_blocks 4294967295 must be 536870911 or …
|
H A D | 213.out | 116 Job failed: Block size must be a multiple of 1 MB 122 Job failed: Block size must be a multiple of 1 MB 128 Job failed: Block size must be a power of two 134 Job failed: Block size must not exceed 268435456 140 Job failed: Block size must be a multiple of 1 MB 148 Job failed: Log size must be a multiple of 1 MB 154 Job failed: Log size must be a multiple of 1 MB 160 Job failed: Log size must be smaller than 4 GB 166 Job failed: Log size must be a multiple of 1 MB
|
/qemu/include/hw/ |
H A D | resettable.h | 50 * reset. This whole API must only be used when holding the iothread mutex. 52 * All objects which can be reset must implement this interface; 54 * Every Resettable object must maintain some state tracking the 80 * should reset local state of the object, but it must not do anything that 92 * @get_state: Mandatory method which must return a pointer to a 99 * additional opaque and ResetType arguments which must be passed unmodified to 160 * Trigger a reset on an object @obj of type @type. @obj must implement 170 * Put an object @obj into reset. @obj must implement Resettable interface. 172 * @resettable_release_reset() must eventually be called after this call. 173 * There must be one call to @resettable_release_reset() per call of [all …]
|
/qemu/docs/devel/ |
H A D | secure-coding-practices.rst | 4 This document covers topics that both developers and security researchers must 41 trusted and may be invalid. Inputs must be checked before using them in a way 46 accesses and data read from guest memory must be validated. A typical example 68 place when ``unit`` is dereferenced. The code must check that ``val`` is 0 or 74 moments. Device emulation code must not assume that the guest follows the 79 A related issue is that device emulation code must be prepared for unexpected 82 certain device registers. Device emulation code must handle the case where the 84 request completes. Unexpected accesses must not cause memory corruption or 94 Live migration code must validate inputs when loading device state so an 102 running. Device emulation code must copy in descriptors and other guest RAM [all …]
|
H A D | reset.rst | 21 to control it. All resettable control functions must be called while holding 45 must not reinitialize on a snapshot-load reset. 52 reset requests. For example, RAM content must not be lost during wake-up, and 53 memory devices like virtio-mem that provide additional RAM must not reset 67 Devices which implement reset methods must treat any unknown ``ResetType`` 82 For now migration of a device or bus in reset is not supported. Care must be 125 local state of the object; it must not do anything that has a side-effect 156 must provide and what functions it has access to. It is intended for people 285 need one. This method must return a pointer to ``ResettableState`` structure. 286 The structure must be allocated by the base class; preferably it should be [all …]
|
/qemu/tests/functional/acpi-bits/bits-tests/ |
H A D | testacpi.py2 | 9 # * Redistributions of source code must retain the above copyright notice, 11 # * Redistributions in binary form must reproduce the above copyright notice, 94 …testsuite.test("_PSS must be identical for all CPUs", len(uniques) <= 1 or (len(uniques) == 2 and … 96 if not testsuite.test("_PSS must exist", pss is not None): 101 if not testsuite.test("_PSS must not be empty", pss.pstates): 110 testsuite.test("_PSS must contain at most 16 Pstates", len(pss.pstates) <= 16) 111 … testsuite.test("_PSS must have no duplicate Pstates", len(pss.pstates) == len(set(pss.pstates))) 114 …testsuite.test("_PSS must list Pstates in descending order of frequency", frequencies == sorted(fr… 116 …testsuite.test("_PSS must have Pstates with no duplicate frequencies", len(frequencies) == len(set… 119 …testsuite.test("_PSS must list Pstates in descending order of power dissipation", dissipations == … [all …]
|
/qemu/linux-headers/linux/ |
H A D | iommufd.h | 77 * @flags: Must be 0 107 * @__reserved: Must be 0 128 * to IOMMU_IOAS_MAP/COPY. IOVA's must satisfy:: 151 * @__reserved: Must be 0 196 * @__reserved: Must be 0 200 * then this must be provided as input. 207 * If IOMMU_IOAS_MAP_FIXED_IOVA is specified then the iova range must currently 253 * set then this must be provided as input. 257 * dst_ioas_id. The src iova/length must exactly match a range used with 283 * Unmap an IOVA range. The iova/length must be a superset of a previously [all …]
|
/qemu/docs/system/ |
H A D | security.rst | 49 bugs at this time. Users with non-virtualization use cases must not rely on 64 CPU, memory, disk, or network. Guests must be unable to exceed their resource 68 The guest must not be able to gain control of QEMU. Bugs in emulated devices 74 malicious guest must not gain control of other guests or access their data. 75 Disk image files and network traffic must be protected from other guests unless 94 In reality certain resources are inaccessible to the guest but must be 99 New features must be designed to follow the principle of least privilege. 100 Should this not be possible for technical reasons, the security risk must be 112 The fundamental isolation mechanism is that QEMU processes must run as 141 management applications must be aware of. [all …]
|
/qemu/include/crypto/ |
H A D | hash.h | 80 * @result must hold a pointer that is @result_len in size, and 87 * The memory referenced in @result must be released with a call 112 * @result must hold a pointer that is @result_len in size, and 119 * The memory referenced in @result must be released with a call 143 * memory pointer in @digest must be released 197 * in @digest must be released with a call to g_free() when 216 * must be released with a call to g_free() when no longer required. 235 * @result must hold a pointer that is @result_len in size, and 242 * The memory referenced in @result must be released with a call 286 * memory pointer in @digest must be released [all …]
|
H A D | hmac.h | 49 * Note: must use qcrypto_hmac_free() to release the 83 * @result must hold a pointer that is @result_len in size, and 90 * The memory referenced in @result must be released with a call 116 * @result must hold a pointer that is @result_len in size, and 123 * The memory referenced in @result must be released with a call 148 * memory pointer in @digest must be released 172 * memory pointer in @digest must be released
|
/qemu/scripts/qapi/ |
H A D | expr.py | 98 This means it must be a valid QAPI name as checked by 111 info, "name of %s must not use lowercase or '-'" % source) 120 This means it must be a valid QAPI name as checked by 136 info, "name of %s must not use uppercase or '_'" % source) 143 This means it must be a valid QAPI name as checked by 144 `check_name_str()`, but where the stem must be in CamelCase. 154 raise QAPISemError(info, "name of %s must use CamelCase" % source) 164 - Else, meta is a type, and must pass `check_name_camel()`. 165 These names must not end with ``List``. 197 :param required: Keys that *must* be present. [all …]
|
/qemu/linux-headers/asm-riscv/ |
H A D | ptrace.h | 22 * struct user_regs_struct must form a prefix of struct pt_regs. 74 * upon signal, and must be zero upon sigreturn. 88 * upon signal, and must be zero upon sigreturn. 125 * VLEN >= ELEN, which must be a power of 2, and must be no greater than
|
/qemu/include/exec/ |
H A D | cpu-defs.h | 29 # error TARGET_LONG_BITS must be defined in cpu-param.h 32 # error TARGET_PHYS_ADDR_SPACE_BITS must be defined in cpu-param.h 35 # error TARGET_VIRT_ADDR_SPACE_BITS must be defined in cpu-param.h 38 # error TARGET_PAGE_BITS must be defined in cpu-param.h
|
/qemu/hw/block/ |
H A D | block.c | 54 * @blk's contents must be @size bytes, and @size must be at most 173 "min_io_size must be a multiple of logical_block_size"); in blkconf_blocksizes() 182 error_setg(errp, "min_io_size must not exceed %u logical blocks", in blkconf_blocksizes() 189 "opt_io_size must be a multiple of logical_block_size"); in blkconf_blocksizes() 196 error_setg(errp, "discard_granularity must be " in blkconf_blocksizes() 270 error_setg(errp, "cyls must be between 1 and %u", cyls_max); in blkconf_geometry() 274 error_setg(errp, "heads must be between 1 and %u", heads_max); in blkconf_geometry() 278 error_setg(errp, "secs must be between 1 and %u", secs_max); in blkconf_geometry()
|
/qemu/docs/ |
H A D | block-replication.txt | 22 the modified disk contents in the Secondary VM must be buffered, and are 132 We must call block_replication_start_all() in secondary QEMU before 134 must hold the I/O mutex lock if it is in migration/checkpoint 139 The caller must hold the I/O mutex lock if it is in migration/checkpoint 143 The caller must hold the I/O mutex lock if it is in migration/checkpoint 149 things except failover. The caller must hold the I/O mutex lock if it is 173 3. Each disk must have its own export name. 176 5. The qmp command line must be run after running qmp command line in 213 2. The export name for the same disk must be the same 214 3. The qmp command nbd-server-start and nbd-server-add must be run
|
/qemu/host/include/x86_64/host/ |
H A D | load-extract-al16-al8.h.inc | 20 * cross an 16-byte boundary then the access must be 16-byte atomic, 21 * otherwise the access must be 8-byte atomic. 34 * making the branch highly predictable. Otherwise we must use VMOVDQA 45 /* Fallback definition that must be optimized away, or error. */
|