[Qemu-devel] [PATCH 0/3] chardev: fix setting FD_PASS for socket type=fd

Marc-André Lureau posted 3 patches 7 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180717125239.22517-1-marcandre.lureau@redhat.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
chardev/char-socket.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
[Qemu-devel] [PATCH 0/3] chardev: fix setting FD_PASS for socket type=fd
Posted by Marc-André Lureau 7 years, 3 months ago
Hi,

This is an alternative series from Daniel "[PATCH] chardev:
unconditionally set FD_PASS feature for socket type=fd".

Instead of unconditionally set FD_PASS feature for any socket address
which has type==fd, we can rely on QIO synchronized initialization and
feature check, as long as "reconnect" option is not provided. The
first 2 patches enforce this case is not supported, as it could give
unexpected or surprising results.

Marc-André Lureau (3):
  char-socket: correctly set has_reconnect when parsing QemuOpts
  char-socket: make 'fd' incompatible with 'reconnect'
  char-socket: delay setting fd-pass feature until connected

 chardev/char-socket.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

-- 
2.18.0.129.ge3331758f1