I am trying to use FreeDOS running in qemu to run DOS-based Doors for a BBS. The challenge I'm running into now is getting access to the host filesystem from within the VM to share files between the host and the guest.
I was hoping for a mount command, but that doesn't seem like it exists. I was also looking for a CLI option to pass a directory as a virtual drive when the qemu instance is started up as another option. There seem to be a couple possible options, but they all appear to be linux-VM specific (eg, the -virtfs CLI option and a 9p client).
I had also found Shared folder between QEMU Windows guest and Linux host as a possibility if I can get a samba client working inside FreeDOS, but that's really a last-ditch option I'd like to avoid.
dosemu
ordosbox
instead of QEMU; both can access the host FS. (2) For file sharing, don't access the host FS from the guest, instead access the guest FS from the host (there are tools in QEMU for this, though I'm not sure if they are supposed to work on an image that's in use). – dirkt Dec 4 '18 at 7:32