Fixed
Created: Dec 10, 2013
Updated: Mar 11, 2016
Resolved Date: Dec 13, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel
In the latest build, qemu does not have virtfs support. The following error is printed out and qemu fails to boot:
qemu-system-x86_64: -virtfs local,path=/var/run,security_model=none,mount_tag=test_mount: Parameter 'driver' expects device type
This occurs when virtfs support is not enabled in qemu.
qemu-system-x86_64 -nographic -k en-us -m 2048 \
-name GUEST_A \
-net none \
-enable-kvm\
-kernel /images/bk.bzImage \
-append 'root=/dev/vda ro console=ttyS0 selinux=0 enforcing=0' \
-virtfs local,path=/var/run,security_model=none,mount_tag=test_mount \
-drive file=intel-xeon-core-ovp-kvm-preempt-rt-dist.ext3,if=virtio,cache=none
If that succeeds, on the guest:
mkdir -p /tmp/shared
mount -t 9p -o trans=virtio test_mount /tmp/shared/ -oversion=9p2000.u