qemu: Restore 9p host mount support

This broke in the qemu-in-images-dir refactor when the config prefix
changed.
This commit is contained in:
Tobias Waldekranz
2023-06-30 15:33:10 +02:00
committed by Joachim Wiberg
parent 193acaac6b
commit 1b85d0c4e0
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -152,9 +152,9 @@ rw_args()
host_args()
{
[ "${QEMU_HOST}" ] || return
[ "$CONFIG_QEMU_HOST" ] || return
echo -n "-virtfs local,path=${QEMU_HOST},security_model=none,writeout=immediate,mount_tag=hostfs "
echo -n "-virtfs local,path=$CONFIG_QEMU_HOST,security_model=none,writeout=immediate,mount_tag=hostfs "
}
net_args()
-3
View File
@@ -11,9 +11,6 @@ sysfs /sys sysfs defaults 0 0
debugfs /sys/kernel/debug debugfs nofail 0 0
cfgfs /config configfs nofail,noauto 0 0
# Optional host share when running in Qemu
hostfs /host 9p nofail,cache=none,msize=16384 0 0
# The chosen backing storage for the overlays placed on /cfg, /etc,
# /home, /root, and /var, are determined dynamically by /lib/infix/mnt
# depending on the available devices.