]> git.ipfire.org Git - thirdparty/qemu.git/commit
libqtest: add a layer of abstraction to send/recv
authorAlexander Bulekov <alxndr@bu.edu>
Thu, 20 Feb 2020 04:11:02 +0000 (23:11 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Sat, 22 Feb 2020 08:26:47 +0000 (08:26 +0000)
commit075334810b3c795c7120eecaf18945befbb816c6
tree34b78c876338ae73f39034a86c39c3dcbed96d1b
parente731d083e34b4dbebf0870c137df4405e4ae8319
libqtest: add a layer of abstraction to send/recv

This makes it simple to swap the transport functions for qtest commands
to and from the qtest client. For example, now it is possible to
directly pass qtest commands to a server handler that exists within the
same process, without the standard way of writing to a file descriptor.

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-7-alxndr@bu.edu
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qtest/libqtest.c