virtio-win / kvm-guest-drivers-windows

Windows paravirtualized drivers for QEMU\KVM
https://www.linux-kvm.org/page/WindowsGuestDrivers
BSD 3-Clause "New" or "Revised" License
1.92k stars 377 forks source link

virtiofs.exe won't mount to custom mount letter when run as a service. #968

Closed chrisposito closed 10 months ago

chrisposito commented 10 months ago

virtiofs.exe ignores the parameter when set via ImagePath value of a service in the registry like so: C:\Program Files\Virtio-Win\VioFS\virtiofs.exe -m k:

To Reproduce Attempt to add the drive letter parameter on the ImagePath value or as a Parameter key in the registry. image

Expected behavior A way to persistently set a custom drive letter that doesn't conflict with other mounts, which behaves the same way as using the service properties dialog box to set a temporary "Launch parameter" like so: image

Host: Ubuntu 22.04.2 LTS 6.2.0-26-generic QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.12) libvirtd (libvirt) 8.0.0

VM:

Additional context Add any other context about the problem here.

viktor-prutyanov commented 10 months ago

Please read about MountPoint registry key https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/Virtiofs:-Shared-file-system#options

chrisposito commented 10 months ago

Thanks so much, sorry I missed that! I was trying to figure that one out for hours.