Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migration: convert unix socket protocol to use QIOChannel
Convert the unix socket migration protocol driver to use QIOChannel and QEMUFileChannel, instead of plain sockets APIs. It can be unconditionally built, since the socket impl of QIOChannel will report a suitable error on platforms where UNIX sockets are unavailable. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1461751518-12128-13-git-send-email-berrange@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
- Loading branch information
Showing
4 changed files
with
80 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
common-obj-y += migration.o tcp.o | ||
common-obj-y += migration.o tcp.o unix.o | ||
common-obj-y += vmstate.o | ||
common-obj-y += qemu-file.o qemu-file-buf.o qemu-file-unix.o qemu-file-stdio.o | ||
common-obj-y += qemu-file-channel.o | ||
common-obj-y += xbzrle.o postcopy-ram.o | ||
common-obj-y += qjson.o | ||
|
||
common-obj-$(CONFIG_RDMA) += rdma.o | ||
common-obj-$(CONFIG_POSIX) += exec.o unix.o fd.o | ||
common-obj-$(CONFIG_POSIX) += exec.o fd.o | ||
|
||
common-obj-y += block.o | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters