Searched refs:ufd (Results 1 – 8 of 8) sorted by last modified time
/qemu/tests/qtest/ |
H A D | migration-test.c | 88 int ufd = uffd_open(O_CLOEXEC); in ufd_version_check() local 90 if (ufd == -1) { in ufd_version_check() 97 if (ioctl(ufd, UFFDIO_API, &api_struct)) { in ufd_version_check()
|
/qemu/migration/ |
H A D | trace-events | 290 postcopy_ram_fault_thread_fds_core(int baseufd, int quitfd) "ufd: %d quitfd: %d"
|
H A D | postcopy-ram.c | 224 int ufd; in receive_ufd_features() local 227 ufd = uffd_open(O_CLOEXEC); in receive_ufd_features() 228 if (ufd == -1) { in receive_ufd_features() 236 if (ioctl(ufd, UFFDIO_API, &api_struct)) { in receive_ufd_features() 246 close(ufd); in receive_ufd_features() 266 if (ioctl(ufd, UFFDIO_API, &api_struct)) { in request_ufd_features() 376 int ufd = -1; in postcopy_ram_supported_by_host() local 389 ufd = uffd_open(O_CLOEXEC); in postcopy_ram_supported_by_host() 390 if (ufd == -1) { in postcopy_ram_supported_by_host() 477 if (ufd != -1) { in postcopy_ram_supported_by_host() [all …]
|
H A D | postcopy-ram.h | 145 typedef int (*pcfdhandler)(struct PostCopyFD *pcfd, void *ufd);
|
/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 515 int ufd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); in have_userfault() local 517 if (ufd < 0) { in have_userfault() 524 if (ioctl(ufd, UFFDIO_API, &api_struct)) { in have_userfault() 525 close(ufd); in have_userfault() 528 close(ufd); in have_userfault()
|
/qemu/hw/virtio/ |
H A D | vhost-user.c | 1916 void *ufd) in vhost_user_postcopy_fault_handler() argument 1920 struct uffd_msg *msg = ufd; in vhost_user_postcopy_fault_handler() 1988 int ufd; in vhost_user_postcopy_advise() local 2017 ufd = qemu_chr_fe_get_msgfd(chr); in vhost_user_postcopy_advise() 2018 if (ufd < 0) { in vhost_user_postcopy_advise() 2022 qemu_socket_set_nonblock(ufd); in vhost_user_postcopy_advise() 2025 u->postcopy_fd.fd = ufd; in vhost_user_postcopy_advise()
|
/qemu/linux-headers/linux/ |
H A D | userfaultfd.h | 125 __u32 ufd; member
|
/qemu/docs/devel/migration/ |
H A D | postcopy.rst | 292 b) Avoiding the need for QEMU to perform ufd-wake calls after the
|