mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
migration: convert fd socket protocol to use QIOChannel
Convert the fd socket migration protocol driver to use QIOChannel and QEMUFileChannel, instead of plain sockets APIs. It can be unconditionally built because the QIOChannel APIs it uses will take care to report suitable error messages if needed. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1461751518-12128-16-git-send-email-berrange@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
This commit is contained in:
parent
e65c67e4da
commit
64802ee57f
4 changed files with 35 additions and 52 deletions
|
@ -1595,6 +1595,10 @@ postcopy_ram_incoming_cleanup_entry(void) ""
|
|||
postcopy_ram_incoming_cleanup_exit(void) ""
|
||||
postcopy_ram_incoming_cleanup_join(void) ""
|
||||
|
||||
# migration/fd.c
|
||||
migration_fd_outgoing(int fd) "fd=%d"
|
||||
migration_fd_incoming(int fd) "fd=%d"
|
||||
|
||||
# migration/socket.c
|
||||
migration_socket_incoming_accepted(void) ""
|
||||
migration_socket_outgoing_connected(void) ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue