[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 08/11] tests/qtest: libqos: Do not build virtio-9p uncondition
From: |
Bin Meng |
Subject: |
[PATCH v6 08/11] tests/qtest: libqos: Do not build virtio-9p unconditionally |
Date: |
Fri, 28 Oct 2022 12:57:33 +0800 |
At present the virtio-9p related codes are built into libqos
unconditionally. Change to build them conditionally by testing
the 'virtfs' config option.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---
Changes in v6:
- new patch: "test/qtest/libqos: meson.build: Do not build virtio-9p
unconditionally"
tests/qtest/libqos/meson.build | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/qtest/libqos/meson.build b/tests/qtest/libqos/meson.build
index 113c80b4e4..32f028872c 100644
--- a/tests/qtest/libqos/meson.build
+++ b/tests/qtest/libqos/meson.build
@@ -33,8 +33,6 @@ libqos_srcs = files(
'sdhci.c',
'tpci200.c',
'virtio.c',
- 'virtio-9p.c',
- 'virtio-9p-client.c',
'virtio-balloon.c',
'virtio-blk.c',
'vhost-user-blk.c',
@@ -62,6 +60,10 @@ libqos_srcs = files(
'x86_64_pc-machine.c',
)
+if have_virtfs
+ libqos_srcs += files('virtio-9p.c', 'virtio-9p-client.c')
+endif
+
libqos = static_library('qos', libqos_srcs + genh,
name_suffix: 'fa',
build_by_default: false)
--
2.25.1
- [PATCH v6 04/11] tests/qtest: device-plug-test: Reverse the usage of double/single quotes, (continued)
- [PATCH v6 04/11] tests/qtest: device-plug-test: Reverse the usage of double/single quotes, Bin Meng, 2022/10/28
- [PATCH v6 01/11] accel/qtest: Support qtest accelerator for Windows, Bin Meng, 2022/10/28
- [PATCH v6 05/11] tests/qtest: Use EXIT_FAILURE instead of magic number, Bin Meng, 2022/10/28
- [PATCH v6 06/11] tests/qtest: libqtest: Introduce qtest_wait_qemu(), Bin Meng, 2022/10/28
- [PATCH v6 07/11] tests/qtest: migration-test: Make sure QEMU process "to" exited after migration is canceled, Bin Meng, 2022/10/28
- [PATCH v6 08/11] tests/qtest: libqos: Do not build virtio-9p unconditionally,
Bin Meng <=
- [PATCH v6 09/11] tests/qtest: libqtest: Correct the timeout unit of blocking receive calls for win32, Bin Meng, 2022/10/28
- [PATCH v6 10/11] .gitlab-ci.d/windows.yml: Increase the timeout to 90 minutes, Bin Meng, 2022/10/28
- [PATCH v6 11/11] tests/qtest: Enable qtest build on Windows, Bin Meng, 2022/10/28
- Re: [PATCH v6 00/11] tests/qtest: Enable running qtest on Windows, Marc-André Lureau, 2022/10/28