summaryrefslogtreecommitdiff
path: root/net/queue.c
diff options
context:
space:
mode:
authorCristian Klein <cristian.klein@cs.umu.se>2015-01-08 11:11:31 +0000
committerAmit Shah <amit.shah@redhat.com>2015-01-16 13:06:17 +0530
commit131fe9b843f9a1e55fcbf2457c9cb25c3711b9d8 (patch)
treec6e9872e69799afe33dd960cdfcf9a743df48a4e /net/queue.c
parente1a8c9b67fc97d293211773edcae9e8e2f3367ab (diff)
downloadqemu-131fe9b843f9a1e55fcbf2457c9cb25c3711b9d8.tar.gz
qemu-131fe9b843f9a1e55fcbf2457c9cb25c3711b9d8.tar.bz2
qemu-131fe9b843f9a1e55fcbf2457c9cb25c3711b9d8.zip
Handle bi-directional communication for fd migration
libvirt prefers opening the TCP connection itself, for two reasons. First, connection failed errors can be detected easier, without having to parse qemu's error output. Second, libvirt might be asked to secure the transfer by tunnelling the communication through an TLS layer. Therefore, libvirt opens the TCP connection itself and passes an FD to qemu using QMP and a POSIX-specific mechanism. Hence, in order to make the reverse-path work in such cases, qemu needs to distinguish if the transmitted FD is a socket (reverse-path available) or not (reverse-path might not be available) and use the corresponding abstraction. Signed-off-by: Cristian Klein <cristian.klein@cs.umu.se> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'net/queue.c')
0 files changed, 0 insertions, 0 deletions