Skip to content

introduce qemu_socketpiar()

[email protected] qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2osdeps: Introduce qemu_socketpair()include/qemu/sockets.h util/osdep.c+27 -02 replies
2/2vhost-user: Call qemu_socketpair() instead of socketpair()hw/display/vhost-user-gpu.c hw/virtio/vhost-user.c+3 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] introduce qemu_socketpiar()

From: Guoyi Tu <[email protected]>

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(-)
Signature · 1 line
2.25.1