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

virtio-fs: Visual Studio 2022 cannot compile files in the file system of virtiofs mounted. #1024

Open luozhiya opened 5 months ago

luozhiya commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

Hi, I have encountered a strange problem.

Visual Studio 2022 cannot compile files in the file system of virtiofs. But Explorer can read and write normally and works very well.

Thanks.

To Reproduce Steps to reproduce the behaviour:

Expected behavior A clear and concise description of what you expected to happen. VS 2022 build successful

Screenshots If applicable, add screenshots to help explain your problem.

Host:

VM:

Additional context Add any other context about the problem here.

kostyanf14 commented 5 months ago

Hi @luozhiya,

Thanks for reporting. This is a known issue. Probably, the problem is the file creation time absence in FUSE and virtiofsd.

YanVugenfirer commented 5 months ago

Hi @luozhiya, which language are you compiling in Visual Studio?

luozhiya commented 5 months ago

Hi @YanVugenfirer

I am using C++ and created the Console App project through VS's templates.