Searched refs:memfd (Results 1 – 15 of 15) sorted by relevance
/qemu/contrib/vhost-user-gpu/ |
H A D | vugbm.c | 45 uint32_t memfd; member 64 buf->memfd = memfd_create("udmabuf-bo", MFD_ALLOW_SEALING); in udmabuf_alloc_bo() 65 if (buf->memfd < 0) { in udmabuf_alloc_bo() 69 ret = ftruncate(buf->memfd, udmabuf_get_size(buf)); in udmabuf_alloc_bo() 71 close(buf->memfd); in udmabuf_alloc_bo() 75 ret = fcntl(buf->memfd, F_ADD_SEALS, F_SEAL_SHRINK); in udmabuf_alloc_bo() 77 close(buf->memfd); in udmabuf_alloc_bo() 89 close(buf->memfd); in udmabuf_free_bo() 96 PROT_READ | PROT_WRITE, MAP_SHARED, buf->memfd, 0); in udmabuf_map_bo() 108 .memfd = buf->memfd, in udmabuf_get_fd()
|
H A D | vugbm.h | 43 int memfd; member
|
/qemu/include/standard-headers/linux/ |
H A D | udmabuf.h | 10 uint32_t memfd; member 17 uint32_t memfd; member
|
/qemu/docs/system/ |
H A D | multi-process.rst | 55 memory-backend-memfd is required to facilitate this, as follows: 57 -object memory-backend-memfd,id=mem,size=2G
|
/qemu/docs/system/devices/ |
H A D | vhost-user.rst | 101 achieved via the ``memory-backend-file``, ``memory-backend-memfd``, or 127 -object memory-backend-memfd,id=mem,size=4G,share=on \\
|
H A D | vhost-user-rng.rst | 31 use to communicate as well as share the guests memory over a memfd.
|
H A D | net.rst | 121 …ev0,chardev=chr0 -device virtio-net,netdev=netdev0 -object memory-backend-memfd,id=memfd0,share=on… 123 Where ``$RAMSIZE`` is the memory size of your VM ``-m`` and ``-object memory-backend-memfd,size=`` …
|
/qemu/backends/ |
H A D | meson.build | 21 system_ss.add(files('hostmem-memfd.c'))
|
/qemu/tests/qtest/ |
H A D | vhost-user-test.c | 225 int size, enum test_memfd memfd) in append_mem_opts() argument 227 if (memfd == TEST_MEMFD_AUTO) { in append_mem_opts() 228 memfd = qemu_memfd_check(MFD_ALLOW_SEALING) ? TEST_MEMFD_YES in append_mem_opts() 232 if (memfd == TEST_MEMFD_YES) { in append_mem_opts() 234 } else if (memfd == TEST_MEMFD_SHM) { in append_mem_opts()
|
/qemu/hw/display/ |
H A D | virtio-gpu-udmabuf.c | 55 list->list[i].memfd = rb->fd; in virtio_gpu_create_udmabuf()
|
/qemu/scripts/ |
H A D | update-linux-headers.sh | 202 psci.h psp-sev.h userfaultfd.h memfd.h mman.h nvme_ioctl.h \
|
/qemu/util/ |
H A D | meson.build | 23 util_ss.add(files('memfd.c'))
|
/qemu/qapi/ |
H A D | qom.json | 608 # memory-backend-memfd, and memory-backend-shm) 705 # Properties for memory-backend-memfd objects. 1148 { 'name': 'memory-backend-memfd', 1224 'memory-backend-memfd': { 'type': 'MemoryBackendMemfdProperties',
|
/qemu/docs/devel/migration/ |
H A D | CPR.rst | 183 a memory-backend object) to be allocated by mmap'ing a memfd.
|
/qemu/ |
H A D | qemu-options.hx | 5475 …``-object memory-backend-memfd,id=id,merge=on|off,dump=on|off,share=on|off,prealloc=on|off,size=si… 5478 using vhost-user). The memory is allocated with memfd and 5498 The ``share`` boolean option is on by default with memfd. 5506 of ``memory-backend-memfd``. It can then be used in any POSIX system, 5507 especially when memfd is not supported.
|