Home
last modified time | relevance | path

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

12345678910>>...16

/qemu/docs/system/devices/
H A Divshmem.rst1 Inter-VM Shared Memory device
4 On Linux hosts, a shared memory device is available. The basic syntax
11 where hostmem names a host memory backend. For a POSIX shared memory
19 shared memory region. Interrupt support requires using a shared memory
21 shared memory server is qemu.git/contrib/ivshmem-server. An example
22 syntax when using the shared memory server is:
41 With device property ``master=on``, the guest will copy the shared
H A Divshmem-flat.rst1 Inter-VM Shared Memory Flat Device
13 notification via HW interrupts and Inter-VM shared memory. This allows the
21 distribute the proper shared memory file descriptor and the eventfd(s) to notify
26 shared memory, the interrupt mechanism is optional. If no input IRQ is
29 the IRQ mechanism is disabled). The shared memory region is always present.
H A Dnvme.rst115 The NVM Subsystem emulation allows features such as shared namespaces and
127 ``shared`` (default: ``on`` since 6.2)
130 and may only be attached to a single controller at a time. Shared namespaces
136 not attached to any controllers initially. A shared namespace with this set
146 -device nvme-ns,drive=nvm-2,nsid=3,shared=off,detached=on
148 will cause NSID 1 will be a shared namespace that is initially attached to both
149 controllers. NSID 3 will be a private namespace due to ``shared=off`` and only
/qemu/docs/specs/
H A Divshmem-spec.rst2 Device Specification for Inter-VM shared memory device
5 The Inter-VM shared memory device (ivshmem) is designed to share a
8 shared memory area, it is modeled by QEMU as a PCI device exposing
11 The device can use a shared memory object on the host directly, or it
33 - BAR2 maps the shared memory object
37 - If you only need the shared memory part, BAR2 suffices. This way,
38 you have access to the shared memory in the guest and can use it as
48 the ivshmem server provided the shared memory. These devices have PCI
131 addition to shared memory. The shared resources are managed by an
143 - sends the ID and the file descriptor for the shared memory to the
[all …]
/qemu/tests/qemu-iotests/
H A D296.out5 {"error": {"class": "GenericError", "desc": "Failed to get shared \"consistent read\" lock"}}
6 {"error": {"class": "GenericError", "desc": "Failed to get shared \"consistent read\" lock"}}
10 qemu-img: Failed to get shared "consistent read" lock
15 {"error": {"class": "GenericError", "desc": "Failed to get shared \"consistent read\" lock"}}
16 {"error": {"class": "GenericError", "desc": "Failed to get shared \"consistent read\" lock"}}
H A D153.out18 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,read-only=on: Failed to get shared "write" lock
30 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock
39 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock
44 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
48 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
52 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
56 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
76 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
80 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
84 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
[all …]
H A D273.out211 "shared-perm": [
225 "shared-perm": [
238 "shared-perm": [
250 "shared-perm": [
/qemu/util/
H A Dmmap-alloc.c89 const bool shared = qemu_map_flags & QEMU_MAP_SHARED; in map_noreserve_effective() local
97 * shared mappings. For shared mappings, all mappers have to specify in map_noreserve_effective()
108 * Linux). For all shared or readonly mappings, MAP_NORESERVE is always in map_noreserve_effective()
110 * exception is shared anonymous memory, it is accounted like private in map_noreserve_effective()
113 if (readonly || (shared && fd >= 0)) { in map_noreserve_effective()
189 const bool shared = qemu_map_flags & QEMU_MAP_SHARED; in mmap_activate() local
201 flags |= shared ? MAP_SHARED : MAP_PRIVATE; in mmap_activate()
203 if (shared && sync) { in mmap_activate()
/qemu/include/hw/misc/
H A Divshmem-flat.h2 * Inter-VM Shared Memory Flat Device
27 * + QOM property "shmem-size" sets the size of the RAM region shared between
30 * + sysbus MMIO region 1: shared memory with ivshmem server
80 /* Shared memory */
/qemu/docs/devel/migration/
H A DCPR.rst27 Guest RAM can be saved in place if backed by shared memory, or can be
33 the RAM is backed by persistent shared memory, such as a DAX device,
47 It is recommended that guest RAM be backed with some type of shared
49 ``x-ignore-shared`` capability be set. This combination allows memory
55 * Set the ``x-ignore-shared`` capability if desired.
65 * Set the ``x-ignore-shared`` capability if desired.
81 (qemu) migrate_set_capability x-ignore-shared on
96 (qemu) migrate_set_capability x-ignore-shared on
120 (qemu) migrate_set_capability x-ignore-shared on
135 (qemu) migrate_set_capability x-ignore-shared on
H A Dqpl-compression.rst9 and Shared Virtual Memory(``SVM``) technology, they are new features supported
52 $cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DQPL_LIBRARY_TYPE=SHARED ..
105 #accel-config config-wq iax1/wq1.0 -g 0 -s 128 -p 10 -b 1 -t 128 -m shared -y user -n app1 -d user
124 Set work queue mode to shared mode, since ``QPL`` library only supports
125 shared mode
148 [ info] alloc wq 0 shared size 128 addr 0x7f26cebe5000 batch sz 0xfffffffe xfer sz 0x80000000
164 queues that are enabled and shared mode.
176 Shared Virtual Memory(SVM) Introduction
189 `Shared Virtual Addressing (SVA) with ENQCMD
/qemu/include/hw/virtio/
H A Dvhost-user.h61 * VhostUserState - shared state for all vhost-user devices
74 * vhost_user_init() - initialise shared vhost_user state
75 * @user: allocated area for storing shared state
91 * Cleans up shared state and notifiers, callee is responsible for
H A Dvhost-vdpa.h39 /* Info shared by all vhost_vdpa device models */
49 * It is shared among all ASID for simplicity, whether CVQ shares ASID with
88 VhostVDPAShared *shared; member
H A Dvirtio-dmabuf.h2 * Virtio Shared dma-buf
33 * @dmabuf_fd: the dma-buf descriptor that will be stored and shared with
95 * virtio_free_resources() - Destroys all keys and values of the shared
/qemu/hw/virtio/
H A Dvhost-vdpa.c508 int fd = v->shared->device_fd; in vhost_vdpa_call()
627 v->shared->backend_cap = features; in vhost_vdpa_set_backend_cap()
636 trace_vhost_vdpa_init(dev, v->shared, opaque); in vhost_vdpa_init()
682 v->shared->listener = vhost_vdpa_memory_listener; in vhost_vdpa_init()
710 int fd = v->shared->device_fd; in vhost_vdpa_host_notifier_init()
807 memory_listener_unregister(&v->shared->listener); in vhost_vdpa_cleanup()
906 memory_listener_unregister(&v->shared->listener); in vhost_vdpa_reset_device()
907 v->shared->listener_registered = false; in vhost_vdpa_reset_device()
1124 const DMAMap *result = vhost_iova_tree_find_iova(v->shared->iova_tree, in vhost_vdpa_svq_unmap_ring()
1135 r = vhost_vdpa_dma_unmap(v->shared, v->address_space_id, result->iova, in vhost_vdpa_svq_unmap_ring()
[all …]
/qemu/include/hw/intc/
H A Dmips_gic.h45 /* Register Map for Shared Section */
49 /* Shared Global Counter */
102 /* Read-only alias for GIC Shared CounterLo */
104 /* Read-only alias for GIC Shared CounterHi */
204 /* Shared Section Registers */
/qemu/include/hw/i2c/
H A Daspeed_i2c.h161 /* 17:0 shared with I2CD_FUN_CTRL[17:0] */
164 /* 31:16 shared with I2CD_CMD[31:16] */
165 /* 15:0 shared with I2CD_BYTE_BUF[15:0] */
167 /* 31:0 shared with I2CD_POOL_CTRL[31:0] */
175 /* 14:0 shared with I2CD_INTR_STS[14:0] */
181 /* 15:0 shared with I2CD_CMD[15:0] */
191 /* 31:29 shared with I2CD_INTR_STS[31:29] */
199 /* 14:0 shared with I2CD_INTR_STS[14:0] */
207 /* 13:0 shared with I2CD_CMD[13:0] */
/qemu/net/
H A Dvhost-vdpa.c237 qemu_close(s->vhost_vdpa.shared->device_fd); in vhost_vdpa_cleanup()
238 g_clear_pointer(&s->vhost_vdpa.shared->iova_tree, vhost_iova_tree_delete); in vhost_vdpa_cleanup()
239 g_free(s->vhost_vdpa.shared); in vhost_vdpa_cleanup()
334 v->shared->svq_switching = enable ? in vhost_vdpa_net_log_global_enable()
348 v->shared->svq_switching = SVQ_TSTATE_DONE; in vhost_vdpa_net_log_global_enable()
384 v->shared->shadow_data = v->shadow_vqs_enabled; in vhost_vdpa_net_data_start()
466 r = ioctl(v->shared->device_fd, VHOST_VDPA_SET_GROUP_ASID, &asid); in vhost_vdpa_set_address_space_id()
476 VhostIOVATree *tree = v->shared->iova_tree; in vhost_vdpa_cvq_unmap_buf()
492 r = vhost_vdpa_dma_unmap(v->shared, v->address_space_id, map->iova, in vhost_vdpa_cvq_unmap_buf()
511 r = vhost_iova_tree_map_alloc(v->shared->iova_tree, &map, taddr); in vhost_vdpa_cvq_map_buf()
[all …]
/qemu/storage-daemon/qapi/
H A Dqapi-schema.json4 # Note that modules are shared with the QEMU main schema under the assumption
5 # that the storage daemon schema is a subset of the main schema. For the shared
10 # not in the main schema, be aware that array types of types defined in shared
/qemu/contrib/ivshmem-server/
H A Divshmem-server.h26 * associated to the ivshmem shared memory.
80 * @shm_path: Path to the shared memory. The path corresponds to a POSIX
82 * @shm_size: Size of shared memory
107 * shared memory file descriptor. The structure remains initialized, so
/qemu/include/hw/acpi/
H A Dpc-hotplug.h2 * QEMU ACPI hotplug utilities shared defines
16 * ONLY DEFINEs are permitted in this file since it's shared
/qemu/tests/docker/dockerfiles/debian-microblaze-cross.d/
H A Dbuild-toolchain.sh69 ../src-gcc/configure --disable-werror --disable-shared \
79 # We won't go through the extra step of building shared libraries
84 ../src-musl/configure --prefix=/usr --host=${TARGET} --disable-shared
/qemu/migration/
H A Dpostcopy-ram.h159 /* Notification to wake shared client */
166 * shared memory.
170 /* Call each of the shared 'waker's registered telling them of
184 /* Callback from shared fault handlers to ask for a page */
/qemu/include/hw/xen/interface/io/
H A Dring.h5 * Shared producer-consumer ring macros.
46 * Calculate size of a shared ring, given the total available space for the
73 * mytag_sring_t - The shared ring.
78 * of the shared memory area (PAGE_SIZE, for instance). To initialise
85 * initializes the shared ring):
93 /* Shared ring entry */ \
99 /* Shared ring page */ \
280 * When queueing requests or responses on a shared ring, it may not always be
375 * Indexes page, shared between frontend and backend. It also
/qemu/include/standard-headers/linux/
H A Dvirtio_pmem.h18 /* guest physical address range will be indicated as shared memory region 0 */
21 /* shmid of the shared memory region corresponding to the pmem */

12345678910>>...16