mbox series

[0/2] introduce qemu_socketpiar()

Message ID cover.1660303075.git.tugy@chinatelecom.cn (mailing list archive)
Headers show
Series introduce qemu_socketpiar() | expand

Message

Guoyi Tu Aug. 12, 2022, 11:44 a.m. UTC
From: Guoyi Tu <tugy@chinatelecom.cn>

introduce qemu_socketpair() to create socket pair fd, and 
set the close-on-exec flag at default as with the other type
of socket does.

besides, the live update feature is developing, so it's necessary
to do that.

Guoyi Tu (2):
  osdeps: Introduce qemu_socketpair()
  vhost-user: Call qemu_socketpair() instead of socketpair()

 hw/display/vhost-user-gpu.c |  3 ++-
 hw/virtio/vhost-user.c      |  2 +-
 include/qemu/sockets.h      |  3 +++
 util/osdep.c                | 24 ++++++++++++++++++++++++
 4 files changed, 30 insertions(+), 2 deletions(-)