mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-04 14:43:01 +02:00
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:
committed by
Joachim Wiberg
parent
193acaac6b
commit
1b85d0c4e0
@@ -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()
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user