diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-11-17 11:01:57 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-11-17 11:01:57 -0800 |
commit | 0a3cb681295ea8962c7a53c4e6e84373c6d36131 (patch) | |
tree | aa8da42d978a1e02880808cae0e3b1a89ed874fd /tools/test-runner.c | |
parent | 3fb1bd85295869db8deae27d09193934e15e7f30 (diff) | |
download | bluez-0a3cb681295ea8962c7a53c4e6e84373c6d36131.tar.gz |
test-runner: Use multidevs=remap when mounting rootfs
This avoid inode collisions when the host has multiple fs to be mapped
to the rootfs on the guest.
Diffstat (limited to 'tools/test-runner.c')
-rw-r--r-- | tools/test-runner.c | 3 |
1 files changed, 2 insertions, 1 deletions
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", |