Home
last modified time | relevance | path

Searched refs:shared (Results 1 – 25 of 116) sorted by relevance

12345

/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 D273.out206 "shared-perm": [
220 "shared-perm": [
233 "shared-perm": [
245 "shared-perm": [
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 …]
/qemu/docs/system/devices/
H A Divshmem.rst4 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
/qemu/net/
H A Dvhost-vdpa.c243 g_free(s->vhost_vdpa.shared); in vhost_vdpa_cleanup()
326 v->shared->svq_switching = enable ? in vhost_vdpa_net_log_global_enable()
340 v->shared->svq_switching = SVQ_TSTATE_DONE; in vhost_vdpa_net_log_global_enable()
363 v->shared->iova_tree = vhost_iova_tree_new(v->shared->iova_range.first, in vhost_vdpa_net_data_start_first()
549 if (v->shared->shadow_data) { in vhost_vdpa_net_cvq_start()
600 if (!v->shared->iova_tree) { in vhost_vdpa_net_cvq_start()
601 v->shared->iova_tree = vhost_iova_tree_new(v->shared->iova_range.first, in vhost_vdpa_net_cvq_start()
1720 s->vhost_vdpa.shared = shared; in net_vhost_vdpa_init()
1841 VhostVDPAShared *shared = NULL; in net_init_vhost_vdpa() local
1844 shared = DO_UPCAST(VhostVDPAState, nc, ncs[0])->vhost_vdpa.shared; in net_init_vhost_vdpa()
[all …]
/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
/qemu/util/
H A Dmmap-alloc.c89 const bool shared = qemu_map_flags & QEMU_MAP_SHARED; in map_noreserve_effective() local
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/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 …]
H A Dvmw_pvscsi-spec.rst14 The interface is based on a memory area shared between hypervisor and VM.
17 The shared memory consists of a registers area and a rings area.
35 There are three rings in shared memory:
/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/hw/virtio/
H A Dvhost-vdpa.c502 int fd = v->shared->device_fd; in vhost_vdpa_call()
600 trace_vhost_vdpa_init(dev, v->shared, opaque); in vhost_vdpa_init()
605 v->shared->listener = vhost_vdpa_memory_listener; in vhost_vdpa_init()
668 int fd = v->shared->device_fd; in vhost_vdpa_host_notifier_init()
765 memory_listener_unregister(&v->shared->listener); in vhost_vdpa_cleanup()
868 v->shared->backend_cap = features; in vhost_vdpa_set_backend_cap()
1124 vhost_iova_tree_remove(v->shared->iova_tree, *result); in vhost_vdpa_svq_unmap_ring()
1164 vhost_iova_tree_remove(v->shared->iova_tree, *needle); in vhost_vdpa_svq_map_ring()
1328 r = ioctl(v->shared->device_fd, VHOST_VDPA_SUSPEND); in vhost_vdpa_suspend()
1387 memory_listener_unregister(&v->shared->listener); in vhost_vdpa_reset_status()
[all …]
H A Dvdpa-dev.c116 v->vdpa.shared = g_new0(VhostVDPAShared, 1); in vhost_vdpa_device_realize()
117 v->vdpa.shared->device_fd = v->vhostfd; in vhost_vdpa_device_realize()
118 v->vdpa.shared->iova_range = iova_range; in vhost_vdpa_device_realize()
166 g_free(v->vdpa.shared); in vhost_vdpa_device_realize()
189 g_free(s->vdpa.shared); in vhost_vdpa_device_unrealize()
/qemu/linux-user/ppc/
H A DMakefile.vdso8 LDFLAGS32 = -nostdlib -shared -Wl,-T,$(SUBDIR)/vdso-32.ld \
10 LDFLAGS64 = -nostdlib -shared -Wl,-T,$(SUBDIR)/vdso-64.ld \
/qemu/contrib/plugins/
H A DMakefile53 $(CC) -shared -o $@ $^ $(LDLIBS)
59 $(CC) -shared -o $@ $^ $(LDLIBS)
/qemu/
H A Dqemu-nbd.c78 static int shared = 1; variable
369 return state == RUNNING && (shared == 0 || nb_fds < shared); in nbd_can_accept()
744 if (qemu_strtoi(optarg, NULL, 0, &shared) < 0 || in main()
745 shared < 0) { in main()
1043 if (persistent || shared == 0) { in main()
1046 backlog = MIN(shared, SOMAXCONN); in main()
1152 nbd_server_is_qemu_nbd(shared); in main()
/qemu/tests/docker/dockerfiles/debian-microblaze-cross.d/
H A Dbuild-toolchain.sh61 ../src-gcc/configure --disable-werror --disable-shared \
76 ../src-musl/configure --prefix=/usr --host=${TARGET} --disable-shared
/qemu/.gitlab-ci.d/
H A Dcustom-runners.yml4 # jobs that are intended to run on GitLab's "shared" runners.
6 # Different than the default approach on "shared" runners, based on
/qemu/tests/unit/
H A Dtest-bdrv-graph-mod.c37 uint64_t perm, uint64_t shared, in no_perm_default_perms() argument
53 uint64_t perm, uint64_t shared, in exclusive_write_perms() argument
283 uint64_t perm, uint64_t shared, in write_to_selected_perms() argument
/qemu/include/block/
H A Dblock_int-global-state.h223 bdrv_child_try_set_perm(BdrvChild *c, uint64_t perm, uint64_t shared,
247 uint64_t perm, uint64_t shared,
/qemu/linux-user/x86_64/
H A DMakefile.vdso9 $(CC) -o $@ -nostdlib -shared -Wl,-h,linux-vdso.so.1 \
/qemu/linux-user/s390x/
H A DMakefile.vdso9 $(CC) -o $@ -nostdlib -shared -Wl,-h,linux-vdso64.so.1 \
/qemu/linux-user/hppa/
H A DMakefile.vdso9 $(CC) -o $@ -nostdlib -shared -Wl,-h,linux-vdso32.so.1 \
/qemu/linux-user/i386/
H A DMakefile.vdso9 $(CC) -o $@ -m32 -nostdlib -shared -Wl,-h,linux-gate.so.1 \
/qemu/linux-user/loongarch64/
H A DMakefile.vdso9 $(CC) -o $@ -nostdlib -shared -fpic -Wl,-h,linux-vdso.so.1 \
/qemu/block/
H A Dcopy-on-read.c114 uint64_t perm, uint64_t shared, in cor_child_perm() argument
118 *nshared = (shared & PERM_PASSTHROUGH) | PERM_UNCHANGED; in cor_child_perm()

12345