https://stackoverflow.com/questions/49268571/how-to-use-9p-virtio-mounts-in-gem5

I want to mount folders from host without networking on a Linux guest,
much as explained for QEMU at:
https://superuser.com/questions/628169/how-to-share-a-directory-with-the-host-without-networking-in-qemu

I have tried to apply the patch mentioned at: http://gem5.org/WA-gem5
on top of fbe63074e3a8128bdbe1a5e8f6509c565a3abbd4 to reach [this
commit](https://github.com/cirosantilli/gem5/commit/d42c007ac8b1fd34ef4c1031c7c999db0d54b0d1).

Then I try to run gem5 ARM with a working setup, and adding the
`--workload-automation-vio=$(pwd)` option.

But then I get the error message:

    fatal: system.realview.viopci.vio.socketPath without default or
user set value

and gem5 exits.

Are there other options that I have to pass? Why isn't that patch
merged upstream?

My full gem5 CLI is:

    
M5_PATH='/home/ciro/bak/git/linux-kernel-module-cheat/buildroot/output.arm-gem5~/build/gem5-1.0/system'
 
'/home/ciro/bak/git/linux-kernel-module-cheat/buildroot/output.arm-gem5~/build/gem5-1.0/gem5/build/ARM/gem5.opt'
 
'/home/ciro/bak/git/linux-kernel-module-cheat/buildroot/output.arm-gem5~/build/gem5-1.0/gem5/configs/example/fs.py'
--checkpoint-dir='./m5out/cpts/arm'
--disk-image='/home/ciro/bak/git/linux-kernel-module-cheat/buildroot/output.arm-gem5~/images/rootfs.ext2'
--kernel='/home/ciro/bak/git/linux-kernel-module-cheat/buildroot/output.arm-gem5~/build/linux-custom/vmlinux'
--num-cpus='1'  --command-line='earlyprintk=pl011,0x1c090000
console=ttyAMA0 lpj=19988480 rw loglevel=8 mem=512MB root=/dev/sda
nokaslr norandmaps printk.devkmsg=on printk.time=y'
--dtb-file='/home/ciro/bak/git/linux-kernel-module-cheat/buildroot/output.arm-gem5~/build/gem5-1.0/gem5/system/arm/dt/armv7_gem5_v1_1cpu.dtb'
--machine-type=VExpress_GEM5_V1
--workload-automation-vio=/home/ciro/bak/git/linux-kernel-module-cheat

The Workload Automation tools claims to make it work, but I want to
find out the raw command needed to set it up manually.
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to