summary refs log tree commit diff stats
path: root/system/vl.c
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2025-01-15 11:00:39 -0800
committerFabiano Rosas <farosas@suse.de>2025-01-29 11:43:05 -0300
commitb5779dc7cfbb53583da362da5906733f6cba4c3f (patch)
tree425306228f4bb5a1c4b8423788ee4e74ed8b6375 /system/vl.c
parent2862b6b92467241e3ed378876cc8dbf2e6a8ea6a (diff)
downloadfocaccia-qemu-b5779dc7cfbb53583da362da5906733f6cba4c3f.tar.gz
focaccia-qemu-b5779dc7cfbb53583da362da5906733f6cba4c3f.zip
migration: SCM_RIGHTS for QEMUFile
Define functions to put/get file descriptors to/from a QEMUFile, for qio
channels that support SCM_RIGHTS.  Maintain ordering such that
  put(A), put(fd), put(B)
followed by
  get(A), get(fd), get(B)
always succeeds.  Other get orderings may succeed but are not guaranteed.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/1736967650-129648-14-git-send-email-steven.sistare@oracle.com
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'system/vl.c')
0 files changed, 0 insertions, 0 deletions