Open DartSteven opened 1 month ago
could you tell how you are trying to achieve this? (Network sharing or just sharing offline?)
could you tell how you are trying to achieve this? (Network sharing or just sharing offline?)
Sure! My idea is to use your fantastic project to run “Roon-Server.” You can check it out here: https://roon.app/. More specifically, the image to download is this one: https://download.roonlabs.net/builds/roonbox-linuxx64-nuc4-usb-factoryreset.img.gz. It is listed in this guide, section 3 “Download”: https://help.roonlabs.com/portal/en/kb/articles/rock-install-guide#3_Download.
In short, this is audio software for listening to music. My music is stored on a partition on my host, and the backup folder (which the application interacts with for regular backups) is also on a partition on my host. I would like to be able to pass these two directories (for example, /media/lvm/data/Music and /media/lvm/backup) to the virtual machine.
Might there be some way to use QEMU's 9pfs to achieve this?
Might there be some way to use QEMU's 9pfs to achieve this?
yes but how? i tried but always nothing comes from host to guest
The way I am doing this is:
volumes:
- /mnt/shared:/mnt/shared
environment:
ARGUMENTS: "-fsdev local,id=fsdev0,path=/mnt/shared,security_model=none -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=host_share"
mount -t 9p -o trans=virtio host_share /mnt/guest_mountpoint
I have just tested this and it appears to work as expected.
What would be good is to put this in the main readme ;)
Is your question not already answered in the FAQ?
Is this a general question and not a technical issue?
Question
Hi,
I would like to share a folder from my host system with a guest virtual machine running in QEMU. I’ve been trying to find the right way to do this, but I haven’t been able to get it to work. Could you please provide a step-by-step guide on how to properly share a host folder with a guest VM?
Specifically, I tried using the following command:
volumes:
Could you please guide me on how to correctly set up folder sharing between the host and the guest? Any help would be greatly appreciated!
Thank you!