Can not mount share using the new virtiofs feature #4348
Replies: 4 comments 2 replies
-
Did you install the right drivers? |
Beta Was this translation helpful? Give feedback.
-
I've been very confused trying to use the
These flags seem to correspond to a 9p-based The Windows drivers linked in https://virtio-fs.gitlab.io/howto-windows.html look for a PCI device 1AF4:105A (https://github.com/virtio-win/kvm-guest-drivers-windows/blob/master/viofs/pci/viofs.inf#L44) rather than the 1AF4:1009 that seems to be provided by the Should the mentions of |
Beta Was this translation helpful? Give feedback.
-
I will chime in and say I see the same thing here. The QEMU invocation from UTM 4.0.5 would suggest we are creating a virtio-9p-pci device and not a virtiofs device? Is this the intention? |
Beta Was this translation helpful? Give feedback.
-
So finally after bashing into the wall for some time, I need to dump my knowledge for other searchers, may be somebody will save their time. I use macos on macbook pro with m3 max, and windows guest arm64
That's correct, indeed, we can confirm this by this list from https://access.redhat.com/solutions/7047921
So this device "VirtFS" from UTM app is actually this one.
NOTE: it's NOT virtio device, it's 9p Speaking shortly,
Ref: virtio-win/kvm-guest-drivers-windows#682 (comment)
Looks like there is a 9p driver virtio-win/kvm-guest-drivers-windows#126 (comment) How to mount 9p share from windows. TLDR: share your dir over network on macos host, and mount it on windows using Mile.Cirno Looks like we need to tune qemu flags a bit, because this is how it looks like by default:
we need to share 9p over TCP and port forward that port to VM I did it like this
(You could add custom QEMU args in UTM app) Then, from VM, checked that port of 9p is accessible (
And, mount it:
As you could see, no errors reported, nothing, no mount :( Reported that to Mile.Cirno repo, here: ProjectMile/Mile.Cirno#6 (comment) Additional info: Redhat itself suggests sharing via NFS or Virtio https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_virtualization/sharing-files-between-the-host-and-its-virtual-machines_configuring-and-managing-virtualization#sharing-files-between-the-host-and-its-virtual-machines_configuring-and-managing-virtualization |
Beta Was this translation helpful? Give feedback.
-
Describe the issue
Windows 11 Preview guest can not mount share using the new virtiofs feature.
Configuration
Upload VM
config.plist config.plist.zip
Beta Was this translation helpful? Give feedback.
All reactions