How to mount host storage into Windows VM?

Hello!.
I’m trying to do this. The usual
lxc config device add linuxVM storage disk source=/mnt/storage/ path=/mnt/storage/
that works with with linux VM does not work (or I don’t know how to make it work) with my Windows 10 VM.

I’ve read that you can do this

qemu-system-x86_64 \
    -net user,smb=/absolute/path/to/folder \
    -net nic,model=virtio \

And see it into Windows 10 VM as a network share, but I don’t know how to do this in LXD.

Is this the right way? Can you help, please?

EDIT: I’ve used the lxc config set w10 raw.qemu – “-net user,smb=/mnt/storage --net nic,model=virtio”. But it gives me an error, and cannot boot.
qemu-system-x86_64:/var/log/lxd/w10-2/qemu.conf:78: PCI: slot 1 function 0 not available for pcie-root-port, in use by virtio-net-pci,id=(null)
I feel I’m in the way…

The disk device you tried first will export the directory to the VM via 9p and virtiofs so if Windows has the ability to access 9p shares then you could access it that way.

How should this way manifest itself in Windows?

Hello!
I was unable to get it working. Now I’m using sshfs for windows, and it’s working really well.

https://github.com/winfsp/sshfs-win

Regards.