diff mbox series

[BlueZ,2/2] test-runner: Use multidevs=remap when mounting rootfs

Message ID 20201117190607.50483-2-luiz.dentz@gmail.com (mailing list archive)
State Accepted
Delegated to: Luiz Von Dentz
Headers show
Series [BlueZ,1/2] test-runner: Change qemu output | expand

Commit Message

Luiz Augusto von Dentz Nov. 17, 2020, 7:06 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This avoid inode collisions when the host has multiple fs to be mapped
to the rootfs on the guest.
---
 tools/test-runner.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/test-runner.c b/tools/test-runner.c
index 0c5daf2d9..ee077ebcf 100644
--- a/tools/test-runner.c
+++ b/tools/test-runner.c
@@ -193,7 +193,8 @@  static char *const qemu_argv[] = {
 	"-no-acpi",
 	"-no-hpet",
 	"-no-reboot",
-	"-fsdev", "local,id=fsdev-root,path=/,readonly,security_model=none",
+	"-fsdev", "local,id=fsdev-root,path=/,readonly,security_model=none,"
+	"multidevs=remap",
 	"-device", "virtio-9p-pci,fsdev=fsdev-root,mount_tag=/dev/root",
 	"-chardev", "stdio,id=con,mux=on",
 	"-serial", "chardev:con",