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 and with the --vio-9p

Adapted from code originally present on the wiki:

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-by: Jason Lowe-Power <>
Reviewed-by: Giacomo Travaglini <>
Maintainer: Jason Lowe-Power <>
Tested-by: kokoro <>
4 files changed