Searched +full:pre +full:- +full:processing (Results 1 – 25 of 37) sorted by relevance
12
1 Using RCU (Read-Copy-Update) for synchronization4 Read-copy update (RCU) is a synchronization mechanism that is used to5 protect read-mostly data structures. RCU is very efficient and scalable6 on the read side (it is wait-free), and thus can make the read paths10 thus it is not used alone. Typically, the write-side will use a lock to17 RCU is fundamentally a "wait-to-finish" mechanism. The read side marks26 for example, reader-writer locks. It is so much more scalable that43 ------------------- ------------------------ -------------------61 -------67 entering an RCU read-side critical section.[all …]
1 .. _coding-style:39 * Tabs are rendered badly in patches, causing off-by-one errors in almost46 ----------------62 .. code-block:: c77 .. code-block:: c100 as a guard against obviously-overlength lines, not a target.)109 * The four-space indentation makes the most common excuse ("But look124 ---------------------------135 ---------------------------146 However, if there is an obvious subsystem-specific prefix it should be[all …]
14 - build artifacts outside of QEMU source tree entirely::22 - build artifacts in a subdir of QEMU source tree::38 - detect the host architecture40 - list the targets for which to build emulators; the list of43 - find the compilers (native and cross) used to build executables,45 fragments (``config-host.mak``) or a Meson machine file46 (``config-meson.cross``)48 - create a virtual environment in which all Python code runs during51 - invoke Meson in the virtual environment, to perform the actual55 which a same-named Meson option exists; dashes in the command line are[all …]
1 Hyper-V Enlightenments6 -----------11 It may, however, be hard-to-impossible to add support for these interfaces to14 KVM on x86 implements Hyper-V Enlightenments for Windows guests. These features15 make Windows and Hyper-V guests think they're running on top of a Hyper-V16 compatible hypervisor and use Hyper-V specific features.20 -----22 No Hyper-V enlightenments are enabled by default by either KVM or QEMU. In25 .. parsed-literal::27 |qemu_system| --enable-kvm --cpu host,hv_relaxed,hv_vpindex,hv_time, ...[all …]
7 everything from unit testing and exercising specific sub-systems all9 tests you can run ``make check-help`` from either the source or build16 [./pyvenv/bin/]meson test --suite qemu:softfloat38 -------------------------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 data68 In QEMU, unit tests can be invoked with ``make check-unit``. They are76 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 …]
33 savevm_section_end(const char *id, unsigned int section_id, int ret) "%s, section_id %u -> %d"73 # vmstate-types.c89 # qemu-file.c91 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-stats238 qemu_rdma_register_odp_mr(const char *name) "Try to register On-Demand Paging memory region: %s"[all …]
1 # -*- Mode: Python -*-30 # @raw: raw bytes. When encoded in JSON only valid UTF-8 sequences47 # @sha1: SHA-1. Should not be used in any new code, legacy compat only49 # @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 keys73 # @aes-192: AES with 192 bit / 24 byte keys[all …]
1 # -*- 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 guest35 # @dirty-sync-count: number of times that dirty ram was synchronized38 # @postcopy-requests: The number of page requests received from the41 # @page-size: The number of bytes per page for the various page-based44 # @multifd-bytes: The number of bytes sent through multifd (since 3.0)46 # @pages-per-second: the number of memory pages transferred per second49 # @precopy-bytes: The number of bytes sent in the pre-copy phase52 # @downtime-bytes: The number of bytes sent while the guest is paused[all …]
1 # -*- 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 a62 # .. qmp-example::64 # -> { "execute": "qom-list",66 # <- { "return": [ { "name": "type", "type": "string" },[all …]
3 # x86-iommu.c32 …date bus 0x%"PRIx8" devfn 0x%"PRIx8" high 0x%"PRIx64" low 0x%"PRIx64" gen %"PRIu32" -> gen %"PRIu3234 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%"PRIx6438 …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 …]
7 * Copyright 2017 Mark Cave-Ayland12 #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 …]
3 # allwinner-sun8i-emac.c14 lan9118_phy_read(uint16_t val, int reg) "[0x%02x] -> 0x%04" PRIx1615 lan9118_phy_write(uint16_t val, int reg) "[0x%02x] <- 0x%04" PRIx1637 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 …]
2 * vhost-user-blk host device9 * 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 …]
54 P pre/post index bit: 0 = postindex, 1 = preindex75 +-------------------------+---+---+---------+---------+77 +-------------------------+---+---+---------+---------+83 +-------------------------+---+---+---------+---------+89 +---+---+---------------------------------+91 +---+---+---------------------------------+96 +---+---+---------------------------------+101 +---+---+---+---+----------+-----------------------+-----------------------+103 +---+---+---+---+----------+-----------------------+-----------------------+106 | 0 | 0 | 1 | 0 | SUF | Subtract | Fd := Fn - Fm |[all …]
... --------------------- ...
5 `EventListener` is a FIFO event queue that can be pre-filtered to listen12 ----------------------63 This isn’t a very good use case for this feature: In a non-trivial97 useful to use that form in a script. For longer-running clients, we can159 re-registered at a later time.162 Using the built-in all events listener203 Additional `EventListener` objects can be created at-will. Each one217 In this example, we await an event from both a user-created218 `EventListener` and the built-in events listener. Both receive the same269 def job1_filter(event) -> bool:[all …]
5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>49 $P [OPTION]... [GIT-REV-LIST]54 -q, --quiet quiet55 --no-tree run without a qemu tree56 --no-signoff do not check for 'Signed-off-by' line57 --patch treat FILE as patchfile58 --branch treat args as GIT revision list59 --emacs emacs compile window format60 --terse one line per report61 -f, --file treat FILE as regular source file[all …]
5 * Copyright (c) 2005-2007 CodeSourcery25 #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-precision111 * 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 …]
1 /* SPDX-License-Identifier: MIT */5 * Unified network-device I/O interface for Xen guest OSes.7 * Copyright (c) 2003-2004, Keir Fraser38 * feature 'feature-rx-notify' via xenbus. Otherwise the backend will assume43 * "feature-split-event-channels" is introduced to separate guest TX49 * "event-channel-tx" and "event-channel-rx" respectively. If frontend50 * 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" to60 * key "multi-queue-num-queues", set to the number they wish to use, which62 * in "multi-queue-max-queues".[all …]
4 * Copyright (c) 2019-2020 Michael Rolnik18 * <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-tests99 * A - instruction that can skip the next one[all …]
29 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 …]
10 * 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 controls67 /* 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 …]
3 #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 …]
74 /* Q4 - Q7 are call-saved, and skipped. */185 also Just So Happened to do nothing on pre-v6k so that we273 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 …]
1 /* 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 and44 * supports no ioctls outside of VFIO_CHECK_EXTENSION. Use of VFIO's No-IOMMU100 /* -------- 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 failure135 /* -------- IOCTLs for GROUP file descriptors (/dev/vfio/$GROUP) -------- */[all …]