kimbo
(Kim Faint)
1
Hi,
I upgraded to Incus from 6.15 to 6.19.1 today and it now seems I can no longer share a disk between host and guest with a command like:
incus config device add winvm workspace disk source=$PWD path=FOO
Previously this would share the current host directory with the Windows VM appearing as Z:\
For a Linux container this still works.
stgraber
(Stéphane Graber)
2
Does your Windows VM have WinFSP and the virtiofs service enabled?
kimbo
(Kim Faint)
3
Yes it does. Images were created using GitHub - antifob/incus-windows: Toolset for creating Windows images for Incus
They have been working well for a long time now, until today.
Has something changed with 6.19 in this area?
stgraber
(Stéphane Graber)
4
6.15 to 6.19 is quite the wide gap so quite a bit may have happened 
What distribution is that on?
Can you also confirm that the Windows VM has image.os set to something that starts with Windows or windows?
kimbo
(Kim Faint)
5
Debian 12 host
I saw the recent change with incus agent for windows and thought I’d try setting image.os to Windows. I set it on the VM image is that correct?
incus image set-property windows/11e/robot image.os Windows
Then launched my VM from that image.
When I run incus config device add winvm agent disk source=agent:config I get a D: but it seems to be the linux agent as there is an install.sh
kimbo
(Kim Faint)
6
Ok, I set the VM instance config image.osto Windows
incus config set winvm image.os Windows
and all is working again now 
Thanks @stgraber
abiosoft
(Abiola Ibrahim)
8
@stgraber is the value case sensitive, does it have to be Windows, windows or either?
stgraber
(Stéphane Graber)
9
It’s case insensitive and only needs the prefix, so you can do Windows 2025 Datacenter or windows 11 and they should work fine.