[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 4/5] iotests: Use qemu-nbd's --pid-file
From: |
Max Reitz |
Subject: |
[Qemu-block] [PATCH 4/5] iotests: Use qemu-nbd's --pid-file |
Date: |
Tue, 7 May 2019 20:36:09 +0200 |
Signed-off-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/common.rc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 93f87389b6..217cf3874d 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -106,8 +106,8 @@ _qemu_io_wrapper()
_qemu_nbd_wrapper()
{
(
- echo $BASHPID > "${QEMU_TEST_DIR}/qemu-nbd.pid"
- exec "$QEMU_NBD_PROG" $QEMU_NBD_OPTIONS "$@"
+ exec "$QEMU_NBD_PROG" --pid-file="${QEMU_TEST_DIR}/qemu-nbd.pid" \
+ $QEMU_NBD_OPTIONS "$@"
)
}
--
2.20.1
[Qemu-block] [PATCH 2/5] iotests.py: Add qemu_nbd_early_pipe(), Max Reitz, 2019/05/07
[Qemu-block] [PATCH 4/5] iotests: Use qemu-nbd's --pid-file,
Max Reitz <=
[Qemu-block] [PATCH 3/5] qemu-nbd: Do not close stderr, Max Reitz, 2019/05/07
[Qemu-block] [PATCH 5/5] iotests: Let 233 run concurrently, Max Reitz, 2019/05/07