[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] fe81e9: io: improve docs for QIOChannelSocket
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] fe81e9: io: improve docs for QIOChannelSocket async functi... |
Date: |
Tue, 16 Feb 2016 09:00:07 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: fe81e932ec0d25157abbe5e7ebcb50493e61a4d6
https://github.com/qemu/qemu/commit/fe81e932ec0d25157abbe5e7ebcb50493e61a4d6
Author: Daniel P. Berrange <address@hidden>
Date: 2016-02-15 (Mon, 15 Feb 2016)
Changed paths:
M include/io/channel-socket.h
Log Message:
-----------
io: improve docs for QIOChannelSocket async functions
In the docs for qio_channel_socket_connect_async,
qio_channel_socket_listen_async and
qio_channel_socket_dgram_async, mention that the
SocketAddress parameters are copied, so can be freed
immediately.
Reviewed-by: "Dr. David Alan Gilbert" <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: c767ae62b9efb2c9b2a757984ff1b14f89b49249
https://github.com/qemu/qemu/commit/c767ae62b9efb2c9b2a757984ff1b14f89b49249
Author: Daniel P. Berrange <address@hidden>
Date: 2016-02-15 (Mon, 15 Feb 2016)
Changed paths:
A include/io/channel-util.h
M io/Makefile.objs
A io/channel-util.c
M tests/test-io-channel-file.c
M tests/test-io-channel-socket.c
Log Message:
-----------
io: introduce helper for creating channels from file descriptors
Depending on what object a file descriptor refers to a different
type of IO channel will be needed - either a QIOChannelFile or
a QIOChannelSocket. Introduce a qio_channel_new_fd() method
which will return the appropriate channel implementation.
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: e8f117f3b3eb41a766d38e0b765f89ec79c6a9ff
https://github.com/qemu/qemu/commit/e8f117f3b3eb41a766d38e0b765f89ec79c6a9ff
Author: Daniel P. Berrange <address@hidden>
Date: 2016-02-15 (Mon, 15 Feb 2016)
Changed paths:
M include/io/channel-buffer.h
M io/channel-buffer.c
Log Message:
-----------
io: convert QIOChannelBuffer to use uint8_t instead of char
The QIOChannelBuffer struct uses a 'char *' for its data
buffer. It will give simpler type compatibility with the
migration APIs if it uses 'uint8_t *' instead, avoiding
several casts.
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 250f53ddaac3211990fb20ced3c46d2338e195e3
https://github.com/qemu/qemu/commit/250f53ddaac3211990fb20ced3c46d2338e195e3
Author: Peter Maydell <address@hidden>
Date: 2016-02-16 (Tue, 16 Feb 2016)
Changed paths:
M include/io/channel-buffer.h
M include/io/channel-socket.h
A include/io/channel-util.h
M io/Makefile.objs
M io/channel-buffer.c
A io/channel-util.c
M tests/test-io-channel-file.c
M tests/test-io-channel-socket.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/berrange/tags/pull-io-next-2016-02-16-1' into staging
Merge I/O fixes 2016/02/16 v1
# gpg: Signature made Tue 16 Feb 2016 15:42:29 GMT using RSA key ID 15104FDF
# gpg: Good signature from "Daniel P. Berrange <address@hidden>"
# gpg: aka "Daniel P. Berrange <address@hidden>"
* remotes/berrange/tags/pull-io-next-2016-02-16-1:
io: convert QIOChannelBuffer to use uint8_t instead of char
io: introduce helper for creating channels from file descriptors
io: improve docs for QIOChannelSocket async functions
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/d5db2ec17746...250f53ddaac3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] fe81e9: io: improve docs for QIOChannelSocket async functi...,
GitHub <=