Hi Peter,
what do you think about this patches? If this could be merged in
upstream, i will start to update the test codes
On 8/23/22 15:50, t...@chinatelecom.cn wrote:
From: Guoyi Tu <t...@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):
oslib-posix: 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 | 18 ++++++++++++++++++
util/oslib-posix.c | 19 +++++++++++++++++++
4 files changed, 40 insertions(+), 2 deletions(-)