summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Wang2019-01-30 04:14:27 +0100
committerPeter Maydell2019-02-04 17:03:20 +0100
commit773c4a6228fd910556cee2d477ee56c591a30000 (patch)
tree0b6fff3003469f80306cab0e0a7ba9056669585b /include
parenttests/docker/test-mingw and docs: Remove --with-sdlabi=2.0 (diff)
downloadqemu-773c4a6228fd910556cee2d477ee56c591a30000.tar.gz
qemu-773c4a6228fd910556cee2d477ee56c591a30000.tar.xz
qemu-773c4a6228fd910556cee2d477ee56c591a30000.zip
test-filter-mirror: pass UNIX domain socket through fd
The tests tries to let qemu server mode to process the connection which turns out to be racy after commit 8258292e18c3 ("monitor: Remove "x-oob", offer capability "oob" unconditionally"). This is because the filter may try to mirror the packets before UNIX socket object is ready (connected was set to true) from the view of qemu. In this case the packet will be dropped silently. Fixing this by passing pre-connected socket created by socketpair() to qemu through fd. Cc: Peter Maydell <peter.maydell@linaro.org> Cc: Li Zhijian <lizhijian@cn.fujitsu.com> Cc: Peter Xu <peterx@redhat.com> Cc: Dr. David Alan Gilbert <dgilbert@redhat.com> Cc: Zhang Chen <zhangckid@gmail.com> Cc: Markus Armbruster <armbru@redhat.com> Cc: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Zhang Chen <zhangckid@gmail.com> Message-id: 20190130031427.13129-1-jasowang@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions