[PATCH 0/9] qemu: fd: Address differences between FD passing types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Originally the intention was to have one set of helpers but it turned
out to be too much hassle and too obscure semantics.

This series adds a new helper qemuFDPassDirect and simplifies the
internals greatly by using a distinct set of APIs.

Peter Krempa (9):
  qemu: fd: Add a distinct set of APIs for 'direct' fd passing mode
  qemu: Convert passing of 'vhostfd' to 'qemuFDPassDirect'
  qemu: Convert passing of 'tapfds' to 'qemuFDPassDirect'
  qemu: Convert passing of 'slirpfd' to 'qemuFDPassDirect'
  qemu: Use 'qemuFDPassDirect' for 'unix' chardevs
  qemuFDPassValidate: Don't validate file descriptors
  qemu: fd: Remove support for 'direct' fd passing from 'qemuFDPass'
  qemuFDPassTransferCommand: Remove return value
  qemu: fd: Fix documentation for FD set related functions

 src/qemu/qemu_command.c      |  55 +++-----
 src/qemu/qemu_domain.c       |   7 +-
 src/qemu/qemu_domain.h       |   7 +-
 src/qemu/qemu_fd.c           | 265 ++++++++++++++++++++---------------
 src/qemu/qemu_fd.h           |  24 +++-
 src/qemu/qemu_hotplug.c      |  15 +-
 src/qemu/qemu_interface.c    |   8 +-
 src/qemu/qemu_monitor_json.c |   4 +-
 src/qemu/qemu_process.c      |   5 +-
 src/qemu/qemu_slirp.c        |   4 +-
 tests/qemuxml2argvmock.c     |  10 +-
 tests/testutilsqemu.c        |  26 ++--
 12 files changed, 232 insertions(+), 198 deletions(-)

-- 
2.35.3




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux