/qemu/tests/unit/ |
H A D | test-fifo.c | 31 * head --v-- tail used = 0 in test_fifo8_pop_bufptr_wrap() 37 * head --v ]-- tail used = 4 in test_fifo8_pop_bufptr_wrap() 42 * head --v ]-- tail used = 2 in test_fifo8_pop_bufptr_wrap() 51 * tail --]v-- head used = 8 in test_fifo8_pop_bufptr_wrap() 56 * head --v ]-- tail used = 2 in test_fifo8_pop_bufptr_wrap() 77 * head --v-- tail used = 0 in test_fifo8_pop_bufptr() 83 * head --v ]-- tail used = 4 in test_fifo8_pop_bufptr() 88 * head --v ]-- tail used = 2 in test_fifo8_pop_bufptr() 109 * head --v-- tail used = 0 in test_fifo8_peek_bufptr_wrap() 115 * head --v ]-- tail used = 4 in test_fifo8_peek_bufptr_wrap() [all …]
|
/qemu/qapi/ |
H A D | virtio.json | 78 # @nvqs: vhost_dev nvqs (number of virtqueues being used) 136 # active virtqueues being used by the VirtIODevice. 241 # "VIRTIO_RING_F_EVENT_IDX: Used & avail. event fields enabled", 250 # "VIRTIO_RING_F_EVENT_IDX: Used & avail. event fields enabled", 303 # "VIRTIO_RING_F_EVENT_IDX: Used & avail. event fields enabled", 314 # "VIRTIO_RING_F_EVENT_IDX: Used & avail. event fields enabled", 316 # "VIRTIO_F_IOMMU_PLATFORM: Device can be used on IOMMU platform", 349 # "VIRTIO_RING_F_EVENT_IDX: Used & avail. event fields enabled", 391 # "VIRTIO_RING_F_EVENT_IDX: Used & avail. event fields enabled", 422 # "VIRTIO_RING_F_EVENT_IDX: Used & avail. event fields enabled", [all …]
|
H A D | machine-common.json | 29 # SMPConfiguration is used to configure the topology of this 32 # @core: core level. The @cores option in SMPConfiguration is used 36 # used to configure the topology of this level. 39 # is used to configure the topology of this level. 41 # @die: die level. The @dies option in SMPConfiguration is used to 45 # The @sockets option in SMPConfiguration is used to configure 48 # @book: book level. The @books option in SMPConfiguration is used 52 # used to configure the topology of this level.
|
/qemu/include/standard-headers/linux/ |
H A D | virtio_ring.h | 19 * may be used to endorse or promote products derived from this software 46 * Mark a descriptor as available or used in packed ring. 52 /* The Host uses this in used->flags to advise the Guest: don't kick me when 81 /* The Guest publishes the used index for which it expects an interrupt 84 * at the end of the used ring. Guest should ignore the used->flags field. */ 118 /* uint32_t is used here for ids for padding reasons. */ 120 /* Index of start of used descriptor chain. */ 122 /* Total length of the descriptor chain which was used (written to) */ 143 * When used on a struct, or struct member, the aligned attribute can only 145 * be specified as well. When used as part of a typedef, the aligned attribute [all …]
|
H A D | vhost_types.h | 6 /* vhost is used to reduce the number of system calls involved in virtio. 8 * Existing virtio net code is used in the guest without modification. 10 * This header includes interface used by userspace hypervisor for 40 /* Used structure address. Must be 32 bit aligned */ 45 /* Log writes to used structure, at offset calculated from specified 84 * When one of these two values is used as the message type, the rest 132 * Used by QEMU userspace to ensure a consistent vhost-scsi ABI. 137 * All the targets under vhost_wwpn can be seen and used by guset.
|
H A D | virtio_i2c.h | 17 /* The bit 0 of the @virtio_i2c_out_hdr.@flags, used to group the requests */ 20 /* The bit 1 of the @virtio_i2c_out_hdr.@flags, used to mark a buffer as read */ 26 * @padding: used to pad to full dword 27 * @flags: used for feature extensibility
|
/qemu/linux-headers/linux/ |
H A D | vduse.h | 15 * This is used for future extension. 34 * Structure used by VDUSE_CREATE_DEV ioctl to create VDUSE device. 67 * Structure used by VDUSE_IOTLB_GET_FD ioctl to find an overlapped IOVA region. 94 * struct vduse_config_data - data used to update configuration space 97 * @buffer: the buffer used to write from 99 * Structure used by VDUSE_DEV_SET_CONFIG ioctl to update device 112 * Inject a config interrupt. It's usually used to notify virtio driver 123 * Structure used by VDUSE_VQ_SETUP ioctl to setup a virtqueue. 150 * @last_used_idx: used index 170 * Structure used by VDUSE_VQ_GET_INFO ioctl to get virtqueue's information. [all …]
|
/qemu/tests/qtest/libqos/ |
H A D | libqos-malloc.c | 138 /* re-use this freenode as our used node */ in mlist_fulfill() 142 /* adjust the free node and create a new used node */ in mlist_fulfill() 148 mlist_sort_insert(s->used, usednode); in mlist_fulfill() 153 * Used only if ALLOC_PARANOID is set. */ 169 QTAILQ_FOREACH(node, s->used, MLIST_ENTNAME) { in mlist_check() 197 node = mlist_find_key(s->used, addr); in mlist_free() 205 /* Rip it out of the used list and re-insert back into the free list. */ in mlist_free() 206 QTAILQ_REMOVE(s->used, node, MLIST_ENTNAME); in mlist_free() 222 QTAILQ_FOREACH_SAFE(node, allocator->used, MLIST_ENTNAME, tmp) { in alloc_destroy() 249 g_free(allocator->used); in alloc_destroy() [all …]
|
H A D | virtio.c | 216 * @desc_idx: The next expected vq->desc[] index in the used ring 221 * This function waits for the next completed request on the used ring. 256 vq->used = (uint64_t)((vq->avail + sizeof(uint16_t) * (3 + vq->size) in qvring_init() 273 /* vq->used->flags */ in qvring_init() 274 qvirtio_writew(vq->vdev, qts, vq->used, 0); in qvring_init() 275 /* vq->used->idx */ in qvring_init() 276 qvirtio_writew(vq->vdev, qts, vq->used + 2, 0); in qvring_init() 277 /* vq->used->avail_event */ in qvring_init() 278 qvirtio_writew(vq->vdev, qts, vq->used + 4 + in qvring_init() 396 /* vq->used->flags */ in qvirtqueue_kick() [all …]
|
/qemu/docs/devel/ |
H A D | ebpf_rss.rst | 7 RSS(Receive Side Scaling) is used to distribute network packets to guest virtqueues 36 - eBPF is used: 40 - eBPF is used: 44 - 'in-qemu' RSS is used: 48 - eBPF is used, hash population feature is not reported to the guest: 53 Also 'in-qemu' RSS, as a fallback, is used if the eBPF program failed to load or set to TUN. 87 …ue, should the hash be calculated, on false - ``default_queue`` would be used as the final decisi… 88 - populate_hash - for now, not used. eBPF RSS doesn't support hash reporting. 89 …SH_TYPE_*`` defines. If for packet hash should not be calculated - ``default_queue`` would be used. 91 - default_queue - the queue index that used for packet that shouldn't be hashed. For some packets, … [all …]
|
H A D | replay.rst | 12 Record/replay functions are used for the deterministic replay of qemu 14 can be later used for replaying the execution anywhere and for unlimited 69 the replay_mutex_lock. It used to be held only for each event being 96 record/replay events used for synchronization. 110 Two functions are used for this purpose; because these actions change 129 Timers are used to execute callbacks from different subsystems of QEMU 132 * Real time clock. Based on host time and used only for callbacks that 138 * Host clock. This clock is used by device models that simulate real time 143 it is used only for increasing virtual clock while virtual machine is 154 but its speed depends on the guest execution. This clock is used by [all …]
|
H A D | rcu.rst | 4 Read-copy update (RCU) is a synchronization mechanism that is used to 10 thus it is not used alone. Typically, the write-side will use a lock to 12 restricting updates to a single task). In QEMU, when a lock is used, 28 mechanism can be used for an arbitrary number of "things", without 66 Used by a reader to inform the reclaimer that the reader is 70 Used by a reader to inform the reclaimer that the reader is 112 ``call_rcu1`` is typically used via either the ``call_rcu`` or 164 The following APIs must be used before RCU is used in a thread: 188 used in. 191 Is used at the head of a block to protect the code within the block. [all …]
|
H A D | build-system.rst | 43 - find the compilers (native and cross) used to build executables, 116 therefore can be used to check for cross compilers. However, most 175 scenario, ``pythondeps.toml`` behaves like the "lock file" used by 257 subdirectories. The subdirectory used for each emulator comes 269 The sourceset is only used for system emulators. 272 of the ``target_arch`` and ``target_system_arch``, which are used respectively 282 There are two dictionaries for modules: ``modules`` is used for 283 target-independent modules and ``target_modules`` is used for 333 and ``TARGET_BASE_ARCH`` will also be used to select the ``hw/`` and 371 dependency will be used:: [all …]
|
H A D | codebase.rst | 59 Various backends that are used to access resources on the host (e.g. for 68 Various backends used by char devices. 76 Cryptographic algorithms used in QEMU. 78 Disassembly functions used by QEMU target code. 92 Set of XML files describing architectures and used by `gdbstub <GDB usage>`. 97 A subset of headers imported from Linux kernel and used for implementing 105 All headers associated to different subsystems in QEMU. The hierarchy used 113 Import of gcc library, used to implement decimal number arithmetic. 151 Collection of scripts used in build and test systems, and various 154 Code related to SCSI support, used by SCSI devices. [all …]
|
/qemu/tests/multiboot/ |
H A D | modules.out | 13 Content: 'This is a test file that is used as a multiboot module.' 20 Content: 'This is a test file that is used as a multiboot module.' 27 Content: 'This is a test file that is used as a multiboot module.' 34 Content: 'This is a test file that is used as a multiboot module.' 36 Content: 'This is a test file that is used as a multiboot module.' 38 Content: 'This is a test file that is used as a multiboot module.'
|
/qemu/python/ |
H A D | README.rst | 4 This directory houses Python tooling used by the QEMU project to build, 8 ``setup.py`` is used by ``pip`` to install this tooling to the current 9 environment. ``setup.cfg`` provides the packaging configuration used by 43 These packages may be used without installing them first, by using one 74 Used by ``make check`` et al. 79 - ``PACKAGE.rst`` is used as the README file that is visible on PyPI.org. 81 - ``VERSION`` contains the PEP-440 compliant version used to describe 84 - ``setup.py`` is the setuptools installer used by pip; See above.
|
/qemu/hw/virtio/ |
H A D | vhost-shadow-virtqueue.c | 244 * We need to expose the available array entries before checking the used in vhost_svq_kick() 251 *(uint16_t *)(&svq->vring.used->ring[svq->vring.num])); in vhost_svq_kick() 255 !(svq->vring.used->flags & cpu_to_le16(VRING_USED_F_NO_NOTIFY)); in vhost_svq_kick() 356 * until some elements are used. in vhost_handle_guest_kick() 386 uint16_t *used_idx = &svq->vring.used->idx; in vhost_svq_more_used() 401 * It returns false if there are pending used buffers from the vhost device, 403 * callbacks. True if SVQ used vring has no more pending buffers. 422 * No need to disable notification in the event idx case, since used event in vhost_svq_disable_notification() 444 const vring_used_t *used = svq->vring.used; in vhost_svq_get_buf() local 452 /* Only get used array entries after they have been exposed by dev */ in vhost_svq_get_buf() [all …]
|
/qemu/docs/ |
H A D | glossary.rst | 7 This section of the manual presents brief definitions of acronyms and terms used 13 A specific API used to accelerate execution of guest instructions. It can be 34 Control Flow Integrity is a hardening technique used to prevent exploits 99 The formal definition of an hypervisor is a program or API than can be used to 128 The `QEMU Network Block Device server <qemu-nbd>` is a tool that can be used to 158 The `QEMU Monitor <QEMU monitor>` is a text interface which can be used to interact 175 `TCG Plugins <TCG Plugins>` is an API used to instrument guest code, in system 179 One key advantage of QEMU plugins is that they can be used to perform 215 :ref:`QEMU Object Model <qom>` is an object oriented API used to define 246 The term "target" can be ambiguous. In most places in QEMU it is used as a [all …]
|
/qemu/include/system/ |
H A D | ramblock.h | 46 /* dirty bitmap used during migration */ 50 * Below fields are only used by mapped-ram migration 56 * used only during migration to a file. 61 /* Bitmap of already received pages. Only used on destination side. */ 71 * It is only used during src side of ram migration, and it is 87 * Used to register/unregister uffd handlers and as the size of the received
|
H A D | cryptodev.h | 124 * as number of bytes from start of packet in source data, only used for 127 * as number of bytes from start of packet in source data, only used for 130 * operation will be computed, only used for algorithm chain 132 * operation will be computed, only used for algorithm chain 273 /* Tag the cryptodev backend is used by virtio-crypto or not */ 410 * @used: true or false 412 * Set the cryptodev backend is used by virtio-crypto or not 414 void cryptodev_backend_set_used(CryptoDevBackend *backend, bool used); 420 * Return the status that the cryptodev backend is used 423 * Returns: true on used, or false on not used
|
/qemu/tests/qemu-iotests/ |
H A D | common.pattern | 109 # used - used - free - used - compressed - compressed - 123 # Write the used clusters 124 echo '=== Used clusters [1]' 126 echo '=== Used clusters [2]' 128 echo '=== Used clusters [3]' 132 echo '=== Read used/compressed clusters'
|
/qemu/docs/interop/ |
H A D | vhost-user.rst | 19 This protocol is aiming to complement the ``ioctl`` interface used to 56 resort, pipe. Each file descriptor will be used for receiving or 121 bits are used: 143 - Bits 16–30: Index of the entry in the *Used Ring* where the back-end 146 - Bit 31: Device (Used) Ring Wrap Counter 152 | index | flags | descriptor | used | available | log | 161 :used: a 64-bit ring address of the vring used ring 203 amount of memory at once and unmap it after it is used. 238 :log size: a 64-bit size of area used for logging 281 - 0: Vhost front-end messages used for writable fields [all …]
|
/qemu/include/qemu/ |
H A D | coroutine.h | 24 * Coroutines are a mechanism for stack switching and can be used for 30 * These functions are re-entrant and may be used outside the BQL. 46 * Provides a mutex that can be used to synchronise coroutines 100 * Initialise a CoQueue. This must be called before any other operation is used 129 * Used from coroutine context, use qemu_co_enter_next outside. 136 * Used from coroutine context, use qemu_co_enter_all outside. 143 * because it is meant to be used outside coroutine context; in that case, the 146 * If used in coroutine context, qemu_co_enter_next is equivalent to 156 * because it is meant to be used outside coroutine context; in that case, the 159 * If used in coroutine context, qemu_co_enter_all is equivalent to [all …]
|
/qemu/docs/system/ |
H A D | secrets.rst | 18 used to identify the object when configuring the thing which need the data. 63 opaque blob. The entire raw file contents is used as the value, thus it is 90 The secret used as the AES key must always be configured using the file based 100 The contents of this file will by used as an AES-256 key to encrypt the 111 These bytes are used as the initialization vector for the AES-256-CBC value. 113 A single master key can be used to encrypt all subsequent secrets, **but it is 114 critical that a different initialization vector is used for every secret**. 154 keyring can be used to pass the master key to QEMU.
|
/qemu/docs/tools/ |
H A D | qemu-img.rst | 61 by the used format or see the format descriptions below for details. 63 *SNAPSHOT_PARAM* is param used for internal snapshot, format is 76 object type is a ``secret``, which is used to supply passwords and/or 96 other QEMU processes to open it in write mode. For example, this can be used to 97 get the image information (with 'info' subcommand) when the image is used by a 122 If the *-p* option is not used for a command that supports it, the 129 in case both *-q* and *-p* options are used. 140 Specifies the cache mode that should be used with the (destination) file. See 146 Specifies the cache mode that should be used with the source file(s). See 286 *BUFFER_SIZE* is used for its value. [all …]
|