summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnthony Liguori2013-04-02 21:07:35 +0200
committerAnthony Liguori2013-04-02 21:07:35 +0200
commit162cbbd1736de2bca43fdefa7e98c54a361ee60d (patch)
treeb61fbd71c097e8f6447a785132fb12f973e73e24 /include
parentconfigure: remove unset variables (diff)
parentchardev: clear O_NONBLOCK on SCM_RIGHTS file descriptors (diff)
downloadqemu-162cbbd1736de2bca43fdefa7e98c54a361ee60d.tar.gz
qemu-162cbbd1736de2bca43fdefa7e98c54a361ee60d.tar.xz
qemu-162cbbd1736de2bca43fdefa7e98c54a361ee60d.zip
Merge remote-tracking branch 'luiz/queue/qmp' into staging
# By Stefan Hajnoczi # Via Luiz Capitulino * luiz/queue/qmp: chardev: clear O_NONBLOCK on SCM_RIGHTS file descriptors qemu-socket: set passed fd non-blocking in socket_connect() net: ensure "socket" backend uses non-blocking fds oslib-posix: rename socket_set_nonblock() to qemu_set_nonblock()
Diffstat (limited to 'include')
-rw-r--r--include/qemu/sockets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h
index d225f6dd74..c5174d76a7 100644
--- a/include/qemu/sockets.h
+++ b/include/qemu/sockets.h
@@ -37,8 +37,8 @@ int qemu_socket(int domain, int type, int protocol);
int qemu_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
int socket_set_cork(int fd, int v);
int socket_set_nodelay(int fd);
-void socket_set_block(int fd);
-void socket_set_nonblock(int fd);
+void qemu_set_block(int fd);
+void qemu_set_nonblock(int fd);
int send_all(int fd, const void *buf, int len1);
int recv_all(int fd, void *buf, int len1, bool single_read);