dev-virtio,configs: expose 9p diod virtio on ARM
authorCiro Santilli <ciro.santilli@arm.com>
Thu, 24 Oct 2019 16:45:43 +0000 (17:45 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Fri, 13 Dec 2019 16:51:06 +0000 (16:51 +0000)
commit55c5b66ae48a3a20cf55bbe41048c0c2d217488c
treeedde05bed7b67c410b9b168e528638e4d6f1e106
parente53051c88962b84f5a07e679e1c3be1e953d2741
dev-virtio,configs: expose 9p diod virtio on ARM

9p allows the guest Linux kernel to mount a host directory into the guest.

This allows to very easily modify test programs after a run at the end of
boot, without the need to re-insert the changes into a disk image.

It is enabled on both fs.py and fs_bigLITTLE.py with the --vio-9p
option.

Adapted from code originally present on the wiki: http://gem5.org/WA-gem5

As documented in the CLI option help, the current setup requires the guest
to know the full path to the host share, which is annoying, but overcoming
that would require actually parsing a bit of the protocol rather than just
forwarding everything to diod.

Change-Id: Iaeb1ed185dccfa8332fe6657a54e7550f64230eb
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22831
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/common/FSConfig.py
configs/common/Options.py
configs/example/arm/fs_bigLITTLE.py
configs/example/fs.py