/qemu/docs/about/ |
H A D | removed-features.rst | 12 ``-hdachs`` (removed in 2.12) 19 ``-net channel`` (removed in 2.12) 24 ``-net dump`` (removed in 2.12) 31 ``-no-kvm-pit`` (removed in 2.12) 34 This was just a dummy option that has been ignored, since the in-kernel PIT 39 ``-tdf`` (removed in 2.12) 43 behaviour that could be changed by this option in qemu-kvm is now the default 47 ``-drive secs=s``, ``-drive heads=h`` & ``-drive cyls=c`` (removed in 3.0) 54 ``-drive serial=``, ``-drive trans=`` & ``-drive addr=`` (removed in 3.0) 60 ``-net ...,vlan=x`` (removed in 3.0) [all …]
|
/qemu/ui/ |
H A D | dbus-display1.xml | 75 <arg type="ay" name="listener" direction="in"> 79 <arg type="h" name="listener" direction="in"/> 85 @width_mm: the physical display width in millimeters. 86 @height_mm: the physical display height in millimeters. 87 @xoff: horizontal offset, in pixels. 88 @yoff: vertical offset, in pixels. 89 @width: console width, in pixels. 90 @height: console height, in pixels. 95 <arg name="width_mm" type="q" direction="in"/> 96 <arg name="height_mm" type="q" direction="in"/> [all …]
|
/qemu/tests/unit/ |
H A D | test-resv-mem.c | 69 static void reset(GList **in, GList **out, GList **expected) in reset() argument 71 g_list_free_full(*in, g_free); in reset() 74 *in = NULL; in reset() 80 run_range_inverse_array(const char *prefix, GList **in, GList **expected, in run_range_inverse_array() argument 84 range_inverse_array(*in, &out, low, high); in run_range_inverse_array() 86 reset(in, &out, expected); in run_range_inverse_array() 91 GList *in = NULL, *expected = NULL; in check_range_reverse_array() local 95 in = insert_sorted_range(in, 0x10000, UINT64_MAX); in check_range_reverse_array() 97 run_range_inverse_array("test1", &in, &expected, 0x0, UINT64_MAX); in check_range_reverse_array() 101 in = insert_sorted_range(in, 0x10000, 0xFFFFFFFFFFFF); in check_range_reverse_array() [all …]
|
/qemu/docs/devel/migration/ |
H A D | vfio.rst | 8 devices is done in QEMU. 15 helps to reduce the total downtime of the VM. VFIO devices opt-in to pre-copy 16 support by reporting the VFIO_MIGRATION_PRE_COPY flag in the 22 and recommends that the initial bytes are sent and loaded in the destination 28 While in the P2P quiescent state, P2P DMA transactions cannot be initiated by 42 A detailed description of the UAPI for VFIO device migration can be found in 43 the comment for the ``vfio_device_mig_state`` structure in the header file 50 * A ``load_setup`` function that sets the VFIO device on the destination in 62 active only when the VFIO device is in pre-copy states. 70 * A ``switchover_start`` function that in the multifd mode starts a thread that [all …]
|
/qemu/scripts/tracetool/format/ |
H A D | ust_events_h.py | 19 events = [e for e in events 20 if "disabled" not in e.properties] 43 ' * requiring no arguments. We define these macros introduced in more recent' 60 for e in events: 68 args=", ".join(", ".join(i) for i in e.args)) 73 for t,n,f in zip(types, names, fmts): 74 if ('char *' in t) or ('char*' in t): 76 elif ("%p" in f) or ("x" in f) or ("PRIx" in f): 78 elif ("ptr" in t) or ("*" in t): 80 elif ('int' in t) or ('long' in t) or ('unsigned' in t) \ [all …]
|
/qemu/scripts/ |
H A D | cpu-x86-uarch-abi.py | 64 # TCG masks out certain features otherwise present in 88 for model in models: 89 if "alias-of" in model: 95 for name in sorted(names): 101 for (feature, present) in cpu["model"]["props"].items(): 102 if present and feature not in skip: 105 if name in ["host", "max", "base"]: 109 # Dict of all present features in this CPU model 118 # CPUID features present in model, but not in ABI level 121 # CPUID features in ABI level but not present in model [all …]
|
/qemu/docs/interop/ |
H A D | parallels.rst | 9 See the COPYING file in the top-level directory. 18 All numbers in a Parallels expandable image are stored in little-endian byte 29 A data chunk of the size specified in the image header. 30 Currently, the default size is 1MiB (2048 sectors). In previous 57 Cluster size, in sectors. 60 Disk size, in clusters (BAT size). 63 Disk size, in sectors. 67 cleared in this case. 73 Set to 0x746F6E59 when the image is opened by software in R/W 76 A zero in this field means that the image was opened by an old [all …]
|
H A D | qcow2.rst | 5 A ``qcow2`` image file is organized in units of constant size, which are called 6 (host) clusters. A cluster is the unit in which all allocations are done, 12 All numbers in qcow2 are stored in Big Endian byte order. 34 Length of the backing file name in bytes. Must not be 51 Virtual disk size in bytes. 70 Number of entries in the active L1 table 84 Number of snapshots contained in the image 90 For version 2, the header is exactly 72 bytes in length, and finishes here. 111 then stored in the external data file. For such 112 images, clusters in the external data file are [all …]
|
/qemu/include/hw/xen/interface/ |
H A D | memory.h | 28 * devices often have a 32-bit limitation even in 64-bit systems). If zero 52 * IN: GMFN bases of extents to free 54 * IN: GPFN bases of extents to populate with memory 58 * IN: must be zero 86 * On complete success then always @nr_exchanged == @in.nr_extents. 94 * [IN] Details of memory extents to be exchanged (GMFN bases). 95 * Note that @in.address_bits is ignored and unused. 97 struct xen_memory_reservation in; member 100 * [IN/OUT] Details of new memory extents. 102 * 1. @in.domid == @out.domid [all …]
|
H A D | physdev.h | 24 /* IN */ 33 * once the guest used this function in that the associated event channel 47 /* IN */ 59 /* IN */ 81 /* IN */ 93 /* IN */ 111 /* IN */ 114 /* IN or OUT */ 127 /* IN */ 129 /* IN or OUT */ [all …]
|
/qemu/docs/devel/ |
H A D | kconfig.rst | 17 are included in QEMU's source code. As a result, each QEMU executable 24 * new targets and boards can be added without knowing in detail the 37 originated in the Linux kernel, though it was heavily simplified and 38 the handling of dependencies is stricter in QEMU. 41 is instead specified in per-target files under the ``configs/`` 44 QEMU; the default configuration that QEMU ships with should be okay in 50 Kconfig defines configurable components in files named ``hw/*/Kconfig``. 51 Note that configurable components are _not_ visible in C code as preprocessor 52 symbols; they are only visible in the Makefile. Each configurable component 56 falsehood is written ``n``. They are defined in a Kconfig [all …]
|
H A D | rust.rst | 3 Rust in QEMU 6 Rust in QEMU is a project to enable using the Rust programming language 10 from ``SysBusDevice`` in `*safe*`__ Rust. Later, it may become possible 16 Building the Rust in QEMU code 19 The Rust in QEMU code is included in the emulators via Meson. Meson 26 In particular: 32 tasks, in particular to invoke ``clippy``, ``rustfmt`` and ``rustdoc``. 35 generated sources from QEMU's build directory and puts it in Cargo's 38 which can be fixed in different ways: 46 A target for ``rustfmt`` is also declared in ``rust/meson.build``: [all …]
|
H A D | build-system.rst | 22 - build artifacts in a subdir of QEMU source tree:: 30 build artifacts cannot be placed in the source tree itself. 48 - create a virtual environment in which all Python code runs during 51 - invoke Meson in the virtual environment, to perform the actual 55 which a same-named Meson option exists; dashes in the command line are 80 Determine if $COMMAND exists in the current environment, either as a 82 replacement in Meson is ``find_program()``. 118 ``cc-option`` macro in ``pc-bios/option-rom/Makefile``). 128 An important step in ``configure`` is to create a Python virtual 131 from the environment, or the system PATH, in this order. The venv resides [all …]
|
H A D | code-provenance.rst | 20 in accordance with the clauses specified in the 29 (a) The contribution was created in whole or in part by me and I 31 indicated in the file; or 36 work with modifications, whether created in whole or in part 39 in the file; or 53 be known by in the community, but should not be anonymous, nor misrepresent 56 It is generally expected that the name and email addresses used in one of the 59 address, but using multiple addresses in one commit just confuses 69 It is not uncommon for a patch to have contributions from multiple authors. In 71 line for each contributor involved in creation of the patch. Some edge cases: [all …]
|
/qemu/tests/qtest/ |
H A D | stm32l4x5_exti-test.c | 8 * See the COPYING file in the top-level directory. 70 /* Test that non-reserved bits in xMR and xTSR can be set and cleared */ in test_reg_write_read() 169 * - enabling its line in IMR in test_software_interrupt() 170 * - and then setting a bit from '0' to '1' in SWIER in test_software_interrupt() 172 * And that the interruption stays pending in NVIC in test_software_interrupt() 173 * even after clearing the pending bit in PR. in test_software_interrupt() 178 * Bit 0 in EXTI_*1 registers (EXTI0) corresponds to GPIO Px_0 in test_software_interrupt() 182 /* Check that there are no interrupts already pending in PR */ in test_software_interrupt() 184 /* Check that this specific interrupt isn't pending in NVIC */ in test_software_interrupt() 193 /* Check that the write in SWIER was effective */ in test_software_interrupt() [all …]
|
/qemu/target/hexagon/idef-parser/ |
H A D | README.rst | 18 A2_add(RdV, in RsV, in RtV) { 46 with a unique identifier, in this case ``A2_add``, which allows to distinguish 48 instruction belongs, in this case ``A2`` corresponds to the Hexagon 53 with ``in`` are already initialized, while the others are output parameters. 57 - Fill in the output function signature with the correct TCGv registers 58 - Fill in the output function signature with the immediate integers 62 Let's now observe the actual instruction description code, in this case: 69 application of some macro definitions contained in the ``macros.h`` file. 76 declared by the declaration statements. In this case all the three registers 94 registers, storing the result in the just declared temporary. [all …]
|
/qemu/include/crypto/ |
H A D | afsplit.h | 11 * This program is distributed in the hope that it will be useful, 36 * byte in the larger data set is changed / missing, it should be 70 * uint8_t *splitkey = .... read in 1 MB of data... 93 * @blocklen: the size of @in in bytes 94 * @stripes: the number of times to expand @in in size 95 * @in: the master key to be expanded in size 99 * Split the data in @in, which is @blocklen bytes in 101 * @blocklen * @stripes bytes in size. 108 const uint8_t *in, 115 * @blocklen: the size of @out in bytes [all …]
|
H A D | cipher.h | 11 * This library is distributed in the hope that it will be useful, 30 * enums defined in qapi/crypto.json */ 39 * built-in, libgcrypt or nettle. 42 * encryption and decryption, and can operate in a number 46 * <title>Encrypting data with AES-128 in CBC mode</title> 91 * Determine if @alg cipher algorithm in @mode is supported by the 103 * Get the required data block size in bytes. When 107 * Returns: the block size in bytes 116 * Get the required key size in bytes. 118 * Returns: the key size in bytes [all …]
|
/qemu/target/i386/tcg/system/ |
H A D | excp_helper.c | 11 * This library is distributed in the hope that it will be useful, 89 static inline uint32_t ptw_ldl(const PTETranslate *in, uint64_t ra) in ptw_ldl() argument 91 if (likely(in->haddr)) { in ptw_ldl() 92 return ldl_p(in->haddr); in ptw_ldl() 94 return cpu_ldl_mmuidx_ra(in->env, in->gaddr, in->ptw_idx, ra); in ptw_ldl() 97 static inline uint64_t ptw_ldq(const PTETranslate *in, uint64_t ra) in ptw_ldq() argument 99 if (likely(in->haddr)) { in ptw_ldq() 100 return ldq_p(in->haddr); in ptw_ldq() 102 return cpu_ldq_mmuidx_ra(in->env, in->gaddr, in->ptw_idx, ra); in ptw_ldq() 108 * PG_DIRTY_MASK are all in the low 32 bits. [all …]
|
/qemu/linux-headers/linux/ |
H A D | psp-sev.h | 44 * This error code is not in the SEV spec. Its purpose is to convey that 121 __u64 address; /* In */ 122 __u32 length; /* In/Out */ 134 __u64 pek_cert_address; /* In */ 135 __u32 pek_cert_len; /* In */ 136 __u64 oca_cert_address; /* In */ 137 __u32 oca_cert_len; /* In */ 149 __u64 pdh_cert_address; /* In */ 150 __u32 pdh_cert_len; /* In/Out */ 151 __u64 cert_chain_address; /* In */ [all …]
|
/qemu/target/hexagon/ |
H A D | gen_idef_parser_funcs.py | 11 ## This program is distributed in the hope that it will be useful, 38 ## A2_add(RdV, in RsV, in RtV) { 43 ## that the code generated by the parser can expect in input. Some of 44 ## them are inputs ("in" prefix), while some others are outputs. 62 for tag in hex_common.tags: 64 if "A_PRIV" in hex_common.attribdict[tag]: 67 if "A_GUEST" in hex_common.attribdict[tag]: 69 ## Skip instructions that saturate in a ternary expression 70 if tag in {"S2_asr_r_r_sat", "S2_asl_r_r_sat"}: 73 if tag in {"S4_vrcrotate_acc", "S4_vrcrotate"}: [all …]
|
/qemu/docs/system/ |
H A D | cpu-models-x86.rst.inc | 27 isolation from the host CPU, allowing greater flexibility in live 30 In both cases, it is possible to optionally add or remove individual CPU 47 only target the original baseline ABI. It is expected that in 52 In addition to what is listed, there are also many CPU model 54 depending on the machine type is in use. 69 matches the generation of the host CPUs in use. In a deployment with a 124 x86 hosts, when available in the host CPU. Some of them require explicit 125 configuration to enable, as they are not included by default in some, or 126 all, of the named CPU models listed above. In general all of these 132 Included by default in Haswell, Broadwell & Skylake Intel CPU models. [all …]
|
/qemu/target/xtensa/core-de233_fpu/ |
H A D | core-matmap.h | 8 * In the Xtensa processor products released to date, all parameters 9 * defined in this file are derivable (at least in theory) from 10 * information contained in the core-isa.h header file. 11 * In particular, the following core configuration parameters are relevant: 29 "Software"), to deal in the Software without restriction, including 36 in all copies or substantial portions of the Software. 41 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 42 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 43 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 44 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ [all …]
|
/qemu/pc-bios/ |
H A D | edk2-licenses.txt | 6 Redistribution and use in source and binary forms, with or without 12 2. Redistributions in binary form must reproduce the above copyright notice, 13 this list of conditions and the following disclaimer in the documentation 26 non-copyrightable additions of contributors, in source or binary form) 45 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 49 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 51 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 61 Unless otherwise noted in a specific file, the EDK2 project is now licensed 62 under the terms listed in the License.txt file. Terms under which Contributions 78 files in both source form and compiled form. [all …]
|
/qemu/docs/devel/testing/ |
H A D | acpi-bits.rst | 13 operating system getting involved in between. Bios-bits has python integration 14 with grub so actual routines that executes bios components can be written in 16 There are several advantages to directly testing the bios in a real physical 17 machine or in a VM as opposed to indirectly discovering bios issues through the 21 complicated software component such as an operating system coming in between. 23 SMBIOS without being in the highest hardware privilege level, ring 0 for 24 example in case of x86. Since the OS executes from ring 0 whereas normal user 25 land software resides in unprivileged ring 3, operating system must be modified 26 in order to write our test routines that exercise and test the bios. This is 27 not possible in all cases. Lastly, test frameworks and routines are preferably [all …]
|