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): 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