[PATCH 0/2] introduce qemu_socketpiar()

tugy@chinatelecom.cn posted 2 patches 1 year, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1660303075.git.tugy@chinatelecom.cn
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>
There is a newer version of this series
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(-)
[PATCH 0/2] introduce qemu_socketpiar()
Posted by tugy@chinatelecom.cn 1 year, 8 months ago
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(-)

-- 
2.25.1