OSDN Git Service

qtest: add qtest_pid()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 6 Jun 2023 11:56:43 +0000 (15:56 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 27 Jun 2023 15:08:56 +0000 (17:08 +0200)
commited097649b55065b3b7da0ca54596e876b29c2561
treebfd6936301ed9a7cc717c13594a616b635145b8d
parent6cc5a6159a0067fefbe0b7912c187018aa4b460a
qtest: add qtest_pid()

Used in the following test on win32, to share sockets with the QEMU
process.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230606115658.677673-7-marcandre.lureau@redhat.com>
tests/qtest/libqtest.c
tests/qtest/libqtest.h