qemu_v8: Rework the QEMU arguments for run and check
The QEMU arguments for run and check are quite similar. Rework the way we
pass arguments to use a common base. This will help keeping both synced and
this common base can be reused by a new feature like the support of SCMI.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org>
diff --git a/common.mk b/common.mk
index 1635b6c..5642fed 100644
--- a/common.mk
+++ b/common.mk
@@ -421,11 +421,11 @@
ifeq ($(QEMU_VIRTFS_ENABLE),y)
QEMU_CONFIGURE_PARAMS_COMMON += --enable-virtfs
-QEMU_EXTRA_ARGS +=\
+QEMU_RUN_ARGS_COMMON +=\
-fsdev local,id=fsdev0,path=$(QEMU_VIRTFS_HOST_DIR),security_model=none \
-device virtio-9p-device,fsdev=fsdev0,mount_tag=host
ifeq ($(QEMU_PSS_ENABLE),y)
-QEMU_EXTRA_ARGS +=\
+QEMU_RUN_ARGS_COMMON +=\
-fsdev local,id=fsdev1,path=$(QEMU_PSS_HOST_DIR),security_model=mapped-xattr \
-device virtio-9p-device,fsdev=fsdev1,mount_tag=secure
endif