summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Bulekov2020-02-20 05:11:03 +0100
committerStefan Hajnoczi2020-02-22 09:26:47 +0100
commitca5d464151c72695a960d0f493f2fe7c083e468f (patch)
tree400e9d1f5b3f2e4e97f8005705414c7c7daa301d /include
parentlibqtest: add a layer of abstraction to send/recv (diff)
downloadqemu-ca5d464151c72695a960d0f493f2fe7c083e468f.tar.gz
qemu-ca5d464151c72695a960d0f493f2fe7c083e468f.tar.xz
qemu-ca5d464151c72695a960d0f493f2fe7c083e468f.zip
libqtest: make bufwrite rely on the TransportOps
When using qtest "in-process" communication, qtest_sendf directly calls a function in the server (qtest.c). Previously, bufwrite used socket_send, which bypasses the TransportOps enabling the call into qtest.c. This change replaces the socket_send calls with ops->send, maintaining the benefits of the direct socket_send call, while adding support for in-process qtest calls. Signed-off-by: Alexander Bulekov <alxndr@bu.edu> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Darren Kenny <darren.kenny@oracle.com> Message-id: 20200220041118.23264-8-alxndr@bu.edu Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions