diff options
author | Alexander Bulekov <alxndr@bu.edu> | 2020-02-19 23:11:01 -0500 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-02-22 08:26:47 +0000 |
commit | e731d083e34b4dbebf0870c137df4405e4ae8319 (patch) | |
tree | b04000a81aed52b95a52c90fc3aad66c467a165e /tests/qtest/libqtest.c | |
parent | e785e50a5eb37e143bbe68b1693753b9bcfba005 (diff) |
qtest: add qtest_server_send abstraction
qtest_server_send is a function pointer specifying the handler used to
transmit data to the qtest client. In the standard configuration, this
calls the CharBackend handler, but now it is possible for other types of
handlers, e.g direct-function calls if the qtest client and server
exist within the same process (inproc)
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-id: 20200220041118.23264-6-alxndr@bu.edu
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qtest/libqtest.c')
0 files changed, 0 insertions, 0 deletions