[Xenomai] Unable to mount shared folder from the host.

Jayadev Kumaran jayadevk123 at gmail.com
Thu Dec 1 15:43:39 CET 2016


Hello ,

I'm very new to Xenomai and currently trying to mount a shared folder from
my host onto Xenomai running on qemu emulator (arm64 platform).
1. I have verified that 9P options are enabled in the kernel configuration.
2. I'm running the qemu emulator with the below command;

*qemu-system-aarch64 -M virt -cpu cortex-a57 -kernel Image -initrd
rootfs.img.gz -nographic -append "console=ttyAMA0 root=/dev/ram
rootfstype=ramfs init=/bin/sh" -snapshot -fsdev
local,id=test_dev,path=/home/jayadev.kumaran/Documents/arm/ltp,security_model=passthrough
-device virtio-9p-pci,fsdev=test_dev,mount_tag=test_mount*

3. I'm trying to mount the folder using


*mount -t 9p -o trans=virtio test_mount /tmp/shared/
-oversion=9p2000.L,posixacl,cache=loose*
However I m seeing the below log:
9pnet_virtio: no channels available
mount: mounting test_mount on /tmp/shared/ failed: No such file or directory

*QUERY: Am I doing it the right way ? Is there any other method by
which I can share/copy a folder on my host system to the Qemu
platform.*

Thanks and Regards,

Jayadev


More information about the Xenomai mailing list