mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
iotests: Use qemu-nbd's --pid-file
Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20190508211820.17851-5-mreitz@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
e6df58a557
commit
4718360a58
1 changed files with 2 additions and 4 deletions
|
@ -105,10 +105,8 @@ _qemu_io_wrapper()
|
||||||
|
|
||||||
_qemu_nbd_wrapper()
|
_qemu_nbd_wrapper()
|
||||||
{
|
{
|
||||||
(
|
"$QEMU_NBD_PROG" --pid-file="${QEMU_TEST_DIR}/qemu-nbd.pid" \
|
||||||
echo $BASHPID > "${QEMU_TEST_DIR}/qemu-nbd.pid"
|
$QEMU_NBD_OPTIONS "$@"
|
||||||
exec "$QEMU_NBD_PROG" $QEMU_NBD_OPTIONS "$@"
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_qemu_vxhs_wrapper()
|
_qemu_vxhs_wrapper()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue