Home
last modified time | relevance | path

Searched full:by (Results 1 – 25 of 3423) sorted by relevance

12345678910>>...137

/qemu/docs/devel/
H A Dreplay.rst3 Written by Pavel Dovgalyuk and Alex Bennée
28 these moments by counting the number of instructions executed between
63 was ensured by the holding of the BQL. However the trend has been to
67 while instruction checkpoints are written by the vCPU thread) we need
68 another lock to keep things in lock-step. This role is now handled by
75 replay_mutex_lock while the BQL is held. This is enforced by an assert.
84 Replaying the execution of virtual machine is bound by sources of
105 1 ns per *real time* nanosecond. This is done by setting up a timer
115 and it warps the virtual clock by the amount of real time that has passed
138 * Host clock. This clock is used by device models that simulate real time
[all …]
H A Dmulti-process.rst26 attack. Separating QEMU reduces the attack surface by aiding to
36 often accelerated by HW virtualization features such as Intel's VT
37 extensions. Finally, it provides IO services to the VM by emulating HW
79 are instantiated by name when used by the guest VM. For example, the
104 mission-mode IO is performed by the application. The vhost user
115 the socket, which then can be used by the vhost user application in
123 instructions by running the guest in a virtual HW mode. When the guest
124 executes instructions that cannot be executed by virtual HW mode,
132 socket to the vhost application. This path is accelerated by the QEMU
133 virtio code by setting up an eventfd file descriptor that the vhost
[all …]
H A Dmemory.rst15 - tracking RAM changes by the guest
30 There are multiple types of memory regions (all represented by a single C type
39 - MMIO: a range of guest memory that is implemented by host callbacks;
83 It claims I/O space that is not supposed to be handled by QEMU itself.
85 handled by the host kernel when KVM is enabled. You initialize these
86 by passing a NULL callback parameter to memory_region_init_io().
91 region which are not claimed by any subregion are handled by the
92 container itself (ie by its MMIO callbacks or RAM backing). However
101 Where the memory region is backed by host memory (RAM, ROM and
137 Regions are assigned names by the constructor. For most regions these are
[all …]
H A Dtcg-ops.rst12 QOP code generator written by Paul Brook.
37 corresponds to a list of instructions terminated by a label, or
41 which corresponds to a list of instructions terminated by a label or
43 a sequence of basic blocks connected by the fall-through paths of
56 In the textual form, output operands usually come first, followed by
57 input operands, followed by constant operands. The output type is
159 By default, before calling a helper, all globals are stored at their
160 canonical location. By default, the helper is allowed to modify the
161 CPU state (including the state represented by tcg globals)
283 | Undefined behavior if division by zero or overflow.
[all …]
/qemu/include/fpu/
H A Dsoftfloat-macros.h7 * It has subsequently been modified by contributors to the QEMU Project,
22 Written by John R. Hauser. This work was made possible in part by the
24 Street, Berkeley, California 94704. Funding was partially provided by the
28 overseen by Profs. Nelson Morgan and John Wawrzynek. More information
64 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
89 * Shift @l left by @c bits, shifting in bits from @r.
107 * Shift @r right by @c bits, shifting in bits from @l.
120 | Shifts `a' right by the number of bits given in `count'. If any nonzero
122 | the result by setting the least significant bit to 1. The value of `count'
125 | The result is stored in the location pointed to by `zPtr'.
[all …]
/qemu/include/hw/arm/
H A Dsoc_dma.h5 * Written by Andrzej Zaborowski <andrew@openedhand.com>
9 * published by the Free Software Foundation; either version 2 or
49 /* Set by soc_dma.c */
53 /* This should be set by dma->setup_fn(). */
55 /* Initialised by the DMA module, call soc_dma_ch_update after writing. */
57 hwaddr vaddr[2]; /* Updated by .transfer_fn(). */
66 /* Set and used by the DMA module. */
71 /* Following fields are set by the SoC DMA module and can be used
72 * by anybody. */
73 uint64_t drqbmp; /* Is zeroed by soc_dma_reset() */
[all …]
/qemu/python/
H A DREADME.rst4 This directory houses Python tooling used by the QEMU project to build,
5 configure, and test QEMU. It is organized by namespace (``qemu``), and
6 then by package (e.g. ``qemu/machine``, ``qemu/qmp``, etc).
8 ``setup.py`` is used by ``pip`` to install this tooling to the current
9 environment. ``setup.cfg`` provides the packaging configuration used by
10 ``setup.py``. You will generally invoke it by doing one of the following:
43 These packages may be used without installing them first, by using one
74 Used by ``make check`` et al.
77 - ``MANIFEST.in`` is read by python setuptools, it specifies additional files
78 that should be included by a source distribution.
[all …]
/qemu/docs/devel/testing/
H A Dfunctional.rst14 into the right shape, e.g. by replacing the 'stdout' python object to redirect
19 that there is no TAP-incompatible output written to stdio, e.g. either by
21 e.g. by capturing the stdout output of subprocesses (redirecting it to
42 You can run the functional tests simply by executing:
56 execute the file directly by specifying two environment variables first,
68 files around on disk by setting ```QEMU_TEST_KEEP_SCRATCH=1``` as an env
83 by the calls to the logging functions in the test code (e.g. by calling
114 By providing the "hash bang" line at the beginning of the script, marking
115 the file as executable and by calling into QemuSystemTest.main(), the test
118 functions in the right fassion (e.g. with TAP output that is required by the
[all …]
/qemu/docs/interop/
H A Dparallels.rst73 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
109 defined by BAT entries (see below).
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``
137 The data area is an area from the data offset (provided by ``header.data_off``
139 contiguous array of clusters. Most of them are allocated by the BAT, some may
140 be allocated by the ``ext_off`` field in the header while other may be
141 allocated by extensions. All clusters allocated by ``ext_off`` and extensions
142 should meet the same requirements as clusters specified by BAT entries.
[all …]
/qemu/linux-headers/LICENSES/preferred/
H A DGPL-2.031 freedom to share and change it. By contrast, the GNU General Public
36 using it. (Some other Free Software Foundation software is covered by
64 software. If the software is modified by someone else and passed on, we
66 that any problems introduced by others will not reflect on the original
69 Finally, any free program is threatened constantly by software
82 a notice placed by the copyright holder saying it may be distributed
92 covered by this License; they are outside its scope. The act of
95 Program (independent of having been made by running the Program).
144 your rights to work written entirely by you; rather, the intent is to
185 If distribution of executable or object code is made by offering
[all …]
/qemu/
H A DCOPYING12 freedom to share and change it. By contrast, the GNU General Public
17 using it. (Some other Free Software Foundation software is covered by
45 software. If the software is modified by someone else and passed on, we
47 that any problems introduced by others will not reflect on the original
50 Finally, any free program is threatened constantly by software
63 a notice placed by the copyright holder saying it may be distributed
73 covered by this License; they are outside its scope. The act of
76 Program (independent of having been made by running the Program).
125 your rights to work written entirely by you; rather, the intent is to
166 If distribution of executable or object code is made by offering
[all …]
/qemu/pc-bios/
H A Dedk2-licenses.txt22 claims, already acquired or hereafter acquired, licensable by such copyright
23 holder or contributor that are necessarily infringed by:
30 which such Contribution(s) was added by such copyright holder or
37 holder or contributor is granted under this license, whether expressly, by
42 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
123 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
147 2. Your commit message must include your "Signed-off-by" signature,
184 commit message, and must include your "Signed-off-by" signature
197 Signed-off-by: Contributor Name <contributor@example.com>
233 * "Signed-off-by" is the contributor's signature identifying them
[all …]
/qemu/docs/specs/
H A Dpvpanic.rst18 pvpanic exposes a single I/O port, by default 0x505. On read, the bits
19 recognized by the device are set. Software should ignore bits it doesn't
20 recognize. On write, the bits not recognized by the device are ignored.
27 a guest panic has happened and should be processed by the host
29 a guest panic has happened and will be handled by the guest;
33 a regular guest shutdown has happened and should be processed by the host
39 address space provided by its BAR0, 1 byte long. Any machine with a PCI bus
40 can enable a pvpanic device by adding ``-device pvpanic-pci`` to the command
H A Drapl-msr.rst13 not all MSRs are handled by KVM. Some of them can now be handled by the
32 by reading the host CPU MSRs and are given back to the guest 1:1 when
64 time spent scheduled for each QEMU thread *and* the energy spent by the
72 7. The total energy spent by the non-vcpu threads is divided by the number
74 energy spent by the QEMU workers.
91 found by the sysconf system call. A typical value of clock ticks per second is
103 By reading those metrics for a thread, one can calculate the ratio of time the
111 package. With that, the calculation of the energy spent by the thread on this
112 package during this whole second is 1/4 of the total energy spent by the
139 socket can be passed via SCM_RIGHTS by libvirt, or its permissions can be
H A Dacpi_nvdimm.rst12 to be supported by platform, platform firmware also exposes an ACPI
42 control functions that are consumed by the device driver.
55 A package containing parameters for the function specified by the
91 method and QEMU. If ACPI has control, this pages is owned by ACPI which
92 writes _DSM input data to it, otherwise, it is owned by QEMU which
125 4092 bytes, the DSM result filled by QEMU
128 ACPI writes the address of the memory page allocated by BIOS to this
134 4 bytes, the address of the memory page allocated by BIOS.
139 "MEMA" indicates the address of memory page allocated by BIOS.
147 | indicated by "MEMA" | | | |
[all …]
/qemu/include/tcg/
H A Dhelper-info.h23 TCG_CALL_RET_NORMAL, /* by registers */
24 TCG_CALL_RET_BY_REF, /* for i128, by reference */
25 TCG_CALL_RET_BY_VEC, /* for i128, by vector register */
29 TCG_CALL_ARG_NORMAL, /* by registers (continuing onto stack) */
34 TCG_CALL_ARG_BY_REF, /* for i128, by reference, first */
35 TCG_CALL_ARG_BY_REF_N, /* ... by reference, subsequent */
63 /* Maximum physical arguments are constrained by TCG_TYPE_I128. */
/qemu/docs/system/s390x/
H A Dprotvirt.rst7 encrypted and can only be decrypted by the firmware, represented by an
15 indicated by the Ultravisor Call facility (stfle bit 158), is
16 required. The Ultravisor needs to be initialized at boot by setting
29 ``Unpack facility`` (stfle bit 161 represented by the feature
38 * Enable the IOMMU by default for all I/O devices
44 pages as indicated by its facilities.
51 QEMU command line. Booting from disk is done by the unmodified
H A Dvfio-ap.rst29 running will be available to the linux host. Each adapter is identified by a
31 determined by machine model. When installed, an AP adapter is accessed by
32 AP instructions executed by any CPU.
39 determined by machine model. Each domain is identified by a number from 0 to
45 * Control domains are domains that are accessed indirectly by AP
51 An AP queue is the means by which an AP command-request message is sent to an
52 AP usage domain inside a specific AP. An AP queue is identified by a tuple
75 A KVM guest is started by executing the Start Interpretive Execution (SIE)
85 use by the KVM guest.
90 corresponding queue is valid for use by the KVM guest.
[all …]
/qemu/docs/about/
H A Dremoved-features.rst15 The geometry defined by ``-hdachs c,h,s,t`` should now be specified via
22 This option has been replaced by ``-net user,guestfwd=...``.
27 ``-net dump[,vlan=n][,file=filename][,len=maxlen]`` has been replaced by
43 behaviour that could be changed by this option in qemu-kvm is now the default
85 The ``-balloon virtio`` option has been replaced by ``-device virtio-balloon``.
91 The ``-bootp /some/file`` argument is replaced by either
100 by either ``-netdev
102 (for pluggable NICs, accompanied with ``-device ...,netdev=x``) or by the option
110 The ``-smb /some/dir`` argument is replaced by either
118 The ``-tftp /some/dir`` argument is replaced by either
[all …]
/qemu/qobject/
H A Dqdict.c110 * This is done by freeing the reference to the stored QObject and
188 * qdict_get_double(): Get an number mapped by 'key'
192 * Return number mapped by 'key'.
200 * qdict_get_int(): Get an integer mapped by 'key'
205 * Return integer mapped by 'key'.
213 * qdict_get_bool(): Get a bool mapped by 'key'
218 * Return bool mapped by 'key'.
243 * by 'key'
248 * Return pointer to the string mapped by 'key'.
256 * qdict_get_try_int(): Try to get integer mapped by 'key'
[all …]
/qemu/bsd-user/arm/
H A Dtarget_arch_thread.h7 * it under the terms of the GNU General Public License as published by
43 * Thumb mode is encoded by the low bit in the entry point (since ARM can't in target_thread_set_upcall()
57 * Thumb mode is encoded by the low bit in the entry point (since ARM can't in target_thread_init()
68 * FreeBSD kernel passes the ps_strings pointer in r0. This is used by some in target_thread_init()
72 * by the csu __startup() routine. For the dynamic case, rtld saves r0 but in target_thread_init()
76 * r1 obj_main ignored by _start(), so 0 passed in target_thread_init()
77 * r2 cleanup generated by rtld or ignored by _start(), so 0 passed in target_thread_init()
/qemu/include/crypto/
H A Dakcipher.h9 * License as published by the Free Software Foundation; either
34 * supported by the current configured build
64 * by a call to qcrypto_akcipher_max_plaintext_len()
67 * by a call to qcrypto_akcipher_max_ciphertext_len()
84 * by a call to qcrypto_akcipher_max_ciphertext_len()
87 * reported by a call to qcrypto_akcipher_max_plaintext_len()
104 * by a call to qcrypto_akcipher_max_dgst_len()
107 * by a call to qcrypto_akcipher_max_signature_len()
124 * by a call to qcrypto_akcipher_max_signature_len()
127 * by a call to qcrypto_akcipher_max_dgst_len()
/qemu/docs/system/i386/
H A Dmicrovm.rst4 ``microvm`` is a machine type inspired by ``Firecracker`` and
24 - IOAPIC (with kernel-irqchip=split by default)
27 - Up to eight virtio-mmio devices (configured by the user)
59 By default, microvm uses ``qboot`` as its BIOS, to obtain better boot
70 By default, microvm aims for maximum compatibility, enabling both
86 footprint further by disabling some legacy devices. If you're using
118 The recommended way to trigger a guest-initiated shut down is by
124 Linux does support this mechanism, but by default will only be used
126 be delayed by a small number of seconds. It's possible to instruct it
127 to try the triple-fault mechanism first, by adding ``reboot=t`` to the
H A Dtdx.rst9 Virtual Machine Monitor (VMM), unless explicitly shared by the TD itself.
37 Unlike non-TDX VM, the CPU features (enumerated by CPU or MSR) of a TD are not
50 determines the set of extended features available for use by the guest TD.
53 Only some bits of some CPUID leaves are directly configurable by VMM.
70 valid value because some bits may not supported by current QEMU or KVM yet.
73 supported by it, via properties of "tdx-guest" object.
86 QEMU checks if the final (CPU) features, determined by given cpu model and
98 by TDX module and VMM cannot disable them.
120 This is set by default for TDX guest if kernel-irqchip is left on its default
144 TD attestation is initiated first by calling TDG.MR.REPORT inside TD to get the
[all …]
/qemu/hw/sensor/
H A Dmax34451.c67 * @page: Each page corresponds to a device monitored by the Max 34451
70 | 0 | Power supply monitored by RS0, controlled by PSEN0, and |
73 | 1 | Power supply monitored by RS1, controlled by PSEN1, and |
76 | 2 | Power supply monitored by RS2, controlled by PSEN2, and |
79 | 3 | Power supply monitored by RS3, controlled by PSEN3, and |
82 | 4 | Power supply monitored by RS4, controlled by PSEN4, and |
85 | 5 | Power supply monitored by RS5, controlled by PSEN5, and |
88 | 6 | Power supply monitored by RS6, controlled by PSEN6, and |
91 | 7 | Power supply monitored by RS7, controlled by PSEN7, and |
94 | 8 | Power supply monitored by RS8, controlled by PSEN8, and |
[all …]

12345678910>>...137