Home
last modified time | relevance | path

Searched +full:pre +full:- +full:processing (Results 1 – 25 of 37) sorted by relevance

12

/qemu/docs/devel/
H A Drcu.rst1 Using RCU (Read-Copy-Update) for synchronization
4 Read-copy update (RCU) is a synchronization mechanism that is used to
5 protect read-mostly data structures. RCU is very efficient and scalable
6 on the read side (it is wait-free), and thus can make the read paths
10 thus it is not used alone. Typically, the write-side will use a lock to
17 RCU is fundamentally a "wait-to-finish" mechanism. The read side marks
26 for example, reader-writer locks. It is so much more scalable that
43 ------------------- ------------------------ -------------------
61 -------
67 entering an RCU read-side critical section.
[all …]
H A Dstyle.rst1 .. _coding-style:
39 * Tabs are rendered badly in patches, causing off-by-one errors in almost
46 ----------------
62 .. code-block:: c
77 .. code-block:: c
100 as a guard against obviously-overlength lines, not a target.)
109 * The four-space indentation makes the most common excuse ("But look
124 ---------------------------
135 ---------------------------
146 However, if there is an obvious subsystem-specific prefix it should be
[all …]
H A Dbuild-system.rst14 - build artifacts outside of QEMU source tree entirely::
22 - build artifacts in a subdir of QEMU source tree::
38 - detect the host architecture
40 - list the targets for which to build emulators; the list of
43 - find the compilers (native and cross) used to build executables,
45 fragments (``config-host.mak``) or a Meson machine file
46 (``config-meson.cross``)
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
[all …]
/qemu/docs/system/i386/
H A Dhyperv.rst1 Hyper-V Enlightenments
6 -----------
11 It may, however, be hard-to-impossible to add support for these interfaces to
14 KVM on x86 implements Hyper-V Enlightenments for Windows guests. These features
15 make Windows and Hyper-V guests think they're running on top of a Hyper-V
16 compatible hypervisor and use Hyper-V specific features.
20 -----
22 No Hyper-V enlightenments are enabled by default by either KVM or QEMU. In
25 .. parsed-literal::
27 |qemu_system| --enable-kvm --cpu host,hv_relaxed,hv_vpindex,hv_time, ...
[all …]
/qemu/docs/devel/testing/
H A Dmain.rst7 everything from unit testing and exercising specific sub-systems all
9 tests you can run ``make check-help`` from either the source or build
16 [./pyvenv/bin/]meson test --suite qemu:softfloat
38 -------------------------
49 Different sub-types of "make check" tests will be explained below.
55 .. _unit-tests:
63 smallest software unit and focuses on the internal processing logic and data
68 In QEMU, unit tests can be invoked with ``make check-unit``. They are
76 1. Create a new source file. For example, ``tests/unit/foo-test.c``.
86 is in ``tests/unit/foo-test.c``, it is enough to add an entry like::
[all …]
/qemu/migration/
H A Dtrace-events33 savevm_section_end(const char *id, unsigned int section_id, int ret) "%s, section_id %u -> %d"
73 # vmstate-types.c
89 # qemu-file.c
91 qemu_file_put_fd(const char *name, int fd, int ret) "ioc %s, fd %d -> status %d"
92 qemu_file_get_fd(const char *name, int fd) "ioc %s -> fd %d"
162 migrate_pending_exact(uint64_t size, uint64_t pre, uint64_t post) "exact pending size %" PRIu64 " (
163 …grate_pending_estimate(uint64_t size, uint64_t pre, uint64_t post) "estimate pending size %" PRIu6…
195 process_incoming_migration_co_end(int ret, int ps) "ret=%d postcopy-state=%d"
200 # migration-stats
238 qemu_rdma_register_odp_mr(const char *name) "Try to register On-Demand Paging memory region: %s"
[all …]
/qemu/qapi/
H A Dcrypto.json1 # -*- Mode: Python -*-
30 # @raw: raw bytes. When encoded in JSON only valid UTF-8 sequences
47 # @sha1: SHA-1. Should not be used in any new code, legacy compat only
49 # @sha224: SHA-224. (since 2.7)
51 # @sha256: SHA-256. Current recommended strong hash.
53 # @sha384: SHA-384. (since 2.7)
55 # @sha512: SHA-512. (since 2.7)
57 # @ripemd160: RIPEMD-160. (since 2.7)
71 # @aes-128: AES with 128 bit / 16 byte keys
73 # @aes-192: AES with 192 bit / 24 byte keys
[all …]
H A Dmigration.json1 # -*- Mode: Python -*-
28 # @normal-bytes: number of normal bytes sent (since 1.2)
30 # @dirty-pages-rate: number of pages dirtied by second by the guest
35 # @dirty-sync-count: number of times that dirty ram was synchronized
38 # @postcopy-requests: The number of page requests received from the
41 # @page-size: The number of bytes per page for the various page-based
44 # @multifd-bytes: The number of bytes sent through multifd (since 3.0)
46 # @pages-per-second: the number of memory pages transferred per second
49 # @precopy-bytes: The number of bytes sent in the pre-copy phase
52 # @downtime-bytes: The number of bytes sent while the guest is paused
[all …]
H A Dqom.json1 # -*- Mode: Python -*-
5 # See the COPYING file in the top-level directory.
8 { 'include': 'block-core.json' }
38 # @default-value: the default value, if any (since 5.0)
46 '*default-value': 'any' } }
49 # @qom-list:
54 # @path: the path within the object model. See @qom-get for a
62 # .. qmp-example::
64 # -> { "execute": "qom-list",
66 # <- { "return": [ { "name": "type", "type": "string" },
[all …]
/qemu/hw/i386/
H A Dtrace-events3 # x86-iommu.c
32 …date bus 0x%"PRIx8" devfn 0x%"PRIx8" high 0x%"PRIx64" low 0x%"PRIx64" gen %"PRIu32" -> gen %"PRIu32
34 vtd_fault_disabled(void) "Fault processing disabled for context entry"
37 … start, uint64_t end) "walk (base=0x%"PRIx64", level=%"PRIu32") iova range 0x%"PRIx64" - 0x%"PRIx64
38 …uint64_t gpa, uint64_t mask, int perm) "domain 0x%"PRIx16" iova 0x%"PRIx64" -> gpa 0x%"PRIx64" mas…
41 vtd_page_walk_skip_read(uint64_t iova, uint64_t next) "Page walk skip iova 0x%"PRIx64" - 0x%"PRIx64…
42 vtd_page_walk_skip_reserve(uint64_t iova, uint64_t next) "Page walk skip iova 0x%"PRIx64" - 0x%"PRI…
56 …4_t iova, uint64_t gpa, uint64_t mask) "dev %02x:%02x.%02x iova 0x%"PRIx64" -> gpa 0x%"PRIx64" mas…
63 …data, uint64_t addr2, uint64_t data2) "(addr 0x%"PRIx64", data 0x%"PRIx64") -> (addr 0x%"PRIx64", …
86 amdvi_prefetch_pages(void) "Pre-fetch of AMD-Vi pages requested"
[all …]
/qemu/hw/net/
H A Dsungem.c7 * Copyright 2017 Mark Cave-Ayland
12 #include "hw/qdev-properties.h"
170 #define MIF_CFG_MDI0 0x00000100 /* MDIO_0 present or read-bit */
171 #define MIF_CFG_MDI1 0x00000200 /* MDIO_1 present or read-bit */
243 mask = s->gregs[GREG_IMASK >> 2]; in sungem_eval_irq()
244 stat = s->gregs[GREG_STAT >> 2] & ~GREG_STAT_TXNR; in sungem_eval_irq()
256 stat = s->gregs[GREG_STAT >> 2]; in sungem_update_status()
262 s->gregs[GREG_STAT >> 2] = stat; in sungem_update_status()
270 mask = s->macregs[MAC_TXSTAT >> 2]; in sungem_eval_cascade_irq()
271 stat = s->macregs[MAC_TXMASK >> 2]; in sungem_eval_cascade_irq()
[all …]
H A Dtrace-events3 # allwinner-sun8i-emac.c
14 lan9118_phy_read(uint16_t val, int reg) "[0x%02x] -> 0x%04" PRIx16
15 lan9118_phy_write(uint16_t val, int reg) "[0x%02x] <- 0x%04" PRIx16
37 open_eth_mii_write(unsigned idx, uint16_t v) "MII[0x%02x] <- 0x%04x"
38 open_eth_mii_read(unsigned idx, uint16_t v) "MII[0x%02x] -> 0x%04x"
39 open_eth_update_irq(uint32_t v) "IRQ <- 0x%x"
45 open_eth_reg_read(uint32_t addr, uint32_t v) "MAC[0x%02x] -> 0x%08x"
46 open_eth_reg_write(uint32_t addr, uint32_t v) "MAC[0x%02x] <- 0x%08x"
47 open_eth_desc_read(uint32_t addr, uint32_t v) "DESC[0x%04x] -> 0x%08x"
48 open_eth_desc_write(uint32_t addr, uint32_t v) "DESC[0x%04x] <- 0x%08x"
[all …]
/qemu/hw/block/
H A Dvhost-user-blk.c2 * vhost-user-blk host device
9 * Largely based on the "vhost-user-scsi.c" and "vhost-scsi.c" implemented by:
15 * See the COPYING.LIB file in the top-level directory.
21 #include "qemu/error-report.h"
23 #include "hw/qdev-core.h"
24 #include "hw/qdev-properties.h"
25 #include "hw/qdev-properties-system.h"
26 #include "hw/virtio/virtio-blk-common.h"
28 #include "hw/virtio/vhost-user-blk.h"
30 #include "hw/virtio/virtio-bus.h"
[all …]
/qemu/linux-user/arm/nwfpe/
H A Dfpopcode.h54 P pre/post index bit: 0 = postindex, 1 = preindex
75 +-------------------------+---+---+---------+---------+
77 +-------------------------+---+---+---------+---------+
83 +-------------------------+---+---+---------+---------+
89 +---+---+---------------------------------+
91 +---+---+---------------------------------+
96 +---+---+---------------------------------+
101 +---+---+---+---+----------+-----------------------+-----------------------+
103 +---+---+---+---+----------+-----------------------+-----------------------+
106 | 0 | 0 | 1 | 0 | SUF | Subtract | Fd := Fn - Fm |
[all …]
/qemu/pc-bios/
HDu-boot.e500 ... --------------------- ...
/qemu/python/qemu/qmp/
H A Devents.py5 `EventListener` is a FIFO event queue that can be pre-filtered to listen
12 ----------------------
63 This isn’t a very good use case for this feature: In a non-trivial
97 useful to use that form in a script. For longer-running clients, we can
159 re-registered at a later time.
162 Using the built-in all events listener
203 Additional `EventListener` objects can be created at-will. Each one
217 In this example, we await an event from both a user-created
218 `EventListener` and the built-in events listener. Both receive the same
269 def job1_filter(event) -> bool:
[all …]
/qemu/scripts/
H A Dcheckpatch.pl5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
49 $P [OPTION]... [GIT-REV-LIST]
54 -q, --quiet quiet
55 --no-tree run without a qemu tree
56 --no-signoff do not check for 'Signed-off-by' line
57 --patch treat FILE as patchfile
58 --branch treat args as GIT revision list
59 --emacs emacs compile window format
60 --terse one line per report
61 -f, --file treat FILE as regular source file
[all …]
/qemu/target/arm/tcg/
H A Dtranslate-vfp.c5 * Copyright (c) 2005-2007 CodeSourcery
25 #include "translate-a32.h"
28 #include "decode-vfp.c.inc"
29 #include "decode-vfp-uncond.c.inc"
91 * Return the offset of a 16-bit half of the specified VFP single-precision
111 * Generate code for M-profile lazy FP state preservation if needed;
116 if (s->v7m_lspact) { in gen_preserve_fp_state()
122 if (translator_io_start(&s->base)) { in gen_preserve_fp_state()
123 s->base.is_jmp = DISAS_UPDATE_EXIT; in gen_preserve_fp_state()
131 s->v7m_lspact = false; in gen_preserve_fp_state()
[all …]
/qemu/include/hw/xen/interface/io/
H A Dnetif.h1 /* SPDX-License-Identifier: MIT */
5 * Unified network-device I/O interface for Xen guest OSes.
7 * Copyright (c) 2003-2004, Keir Fraser
38 * feature 'feature-rx-notify' via xenbus. Otherwise the backend will assume
43 * "feature-split-event-channels" is introduced to separate guest TX
49 * "event-channel-tx" and "event-channel-rx" respectively. If frontend
50 * doesn't want to use this feature, it just writes "event-channel"
56 * If supported, the backend will write the key "multi-queue-max-queues" to
60 * key "multi-queue-num-queues", set to the number they wish to use, which
62 * in "multi-queue-max-queues".
[all …]
/qemu/target/avr/
H A Dtranslate.c4 * Copyright (c) 2019-2020 Michael Rolnik
18 * <http://www.gnu.org/licenses/lgpl-2.1.html>
22 #include "qemu/qemu-print.h"
25 #include "exec/translation-block.h"
26 #include "tcg/tcg-op.h"
27 #include "exec/helper-proto.h"
28 #include "exec/helper-gen.h"
34 #include "exec/helper-info.c.inc"
42 * https://github.com/seharris/qemu-avr-tests/tree/master/instruction-tests
99 * A - instruction that can skip the next one
[all …]
/qemu/libdecnumber/
H A DdecNumber.c29 02110-1301, USA. */
31 /* ------------------------------------------------------------------ */
33 /* ------------------------------------------------------------------ */
44 /* If DECDPUN>4 or DECUSE64=1, the C99 64-bit int64_t and */
49 /* efficient processing of relatively short numbers; in particular */
54 /* range -999,999,999 through 0). Mathematical functions (for */
56 /* tightly: digits, emax, and -emin in the context must be <= */
71 /* SIGFPE signal is then raised if the corresponding trap-enabler */
82 /* representation as it comprises fields which may be machine- */
89 /* Results are undefined if a badly-formed structure (or a NULL */
[all …]
/qemu/tcg/aarch64/
H A Dtcg-target.c.inc10 * See the COPYING file in the top-level directory for details.
28 /* We're going to re-use TCGType in setting of the SF bit, which controls
67 /* V8 - V15 are call-saved, and skipped. */
96 ptrdiff_t offset = target - src_rx;
110 ptrdiff_t offset = target - src_rx;
122 ptrdiff_t offset = target - src_rx;
159 /* Match a constant valid for addition (12-bit, optionally shifted). */
182 val += val & -val;
183 return (val & (val - 1)) == 0;
186 /* Return true if v16 is a valid 16-bit shifted immediate. */
[all …]
/qemu/hw/scsi/
H A Dscsi-bus.c3 #include "qemu/error-report.h"
6 #include "qemu/hw-version.h"
7 #include "hw/qdev-properties.h"
9 #include "migration/qemu-file-types.h"
12 #include "system/block-backend.h"
36 QTAILQ_FOREACH_RCU(kid, &bus->qbus.children, sibling) { in do_scsi_device_find()
37 DeviceState *qdev = kid->child; in do_scsi_device_find()
40 if (dev->channel == channel && dev->id == id) { in do_scsi_device_find()
41 if (dev->lun == lun) { in do_scsi_device_find()
59 * main thread hot-plugging the device. in do_scsi_device_find()
[all …]
/qemu/tcg/arm/
H A Dtcg-target.c.inc74 /* Q4 - Q7 are call-saved, and skipped. */
185 also Just So Happened to do nothing on pre-v6k so that we
273 ptrdiff_t offset = (tcg_ptr_byte_diff(target, src_rx) - 8) >> 2;
285 ptrdiff_t offset = tcg_ptr_byte_diff(target, src_rx) - 8;
287 if (offset >= -0xfff && offset <= 0xfff) {
291 offset = -offset;
304 ptrdiff_t offset = (tcg_ptr_byte_diff(target, src_rx) - 8) / 4;
306 if (offset >= -0xff && offset <= 0xff) {
310 offset = -offset;
323 ptrdiff_t offset = tcg_ptr_byte_diff(target, src_rx) - 8;
[all …]
/qemu/linux-headers/linux/
H A Dvfio.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
37 /* Two-stage IOMMU */
43 * The No-IOMMU IOMMU offers no translation or isolation for devices and
44 * supports no ioctls outside of VFIO_CHECK_EXTENSION. Use of VFIO's No-IOMMU
100 /* -------- IOCTLs for VFIO file descriptor (/dev/vfio/vfio) -------- */
103 * VFIO_GET_API_VERSION - _IO(VFIO_TYPE, VFIO_BASE + 0)
114 * VFIO_CHECK_EXTENSION - _IOW(VFIO_TYPE, VFIO_BASE + 1, __u32)
123 * VFIO_SET_IOMMU - _IOW(VFIO_TYPE, VFIO_BASE + 2, __s32)
130 * Return: 0 on success, -errno on failure
135 /* -------- IOCTLs for GROUP file descriptors (/dev/vfio/$GROUP) -------- */
[all …]

12