diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2025-01-15 11:00:39 -0800 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2025-01-29 11:43:05 -0300 |
commit | b5779dc7cfbb53583da362da5906733f6cba4c3f (patch) | |
tree | 425306228f4bb5a1c4b8423788ee4e74ed8b6375 /scripts/xml-preprocess.py | |
parent | 2862b6b92467241e3ed378876cc8dbf2e6a8ea6a (diff) | |
download | qemu-b5779dc7cfbb53583da362da5906733f6cba4c3f.zip qemu-b5779dc7cfbb53583da362da5906733f6cba4c3f.tar.gz qemu-b5779dc7cfbb53583da362da5906733f6cba4c3f.tar.bz2 |
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 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions