]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: setup bi-directional I/O channel for exec: protocol
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 21 Apr 2017 11:12:20 +0000 (12:12 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 31 Jul 2017 21:42:57 +0000 (16:42 -0500)
commit181e005f14aebfba80e5703c770c18531f0c73a4
tree3b6101c23bf8da36f04cbcda0815dabac243577b
parentb8420f7102fe3ae3a796d828aecb4dacee781c9d
migration: setup bi-directional I/O channel for exec: protocol

Historically the migration data channel has only needed to be
unidirectional. Thus the 'exec:' protocol was requesting an
I/O channel with O_RDONLY on incoming side, and O_WRONLY on
the outgoing side.

This is fine for classic migration, but if you then try to run
TLS over it, this fails because the TLS handshake requires a
bi-directional channel.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
(cherry picked from commit 062d81f0e968fe1597474735f3ea038065027372)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
migration/exec.c