I am using mount/umount commands with a Win VM on a KVM Linux host. I have a script that continuously loops:
sleep 1 sec
mount
read guest file
unmount
When I change a Win7 file (say, a text file using Notepad),I am able to see changes only after 10-30 seconds.
I also tried Windows 7 VM file cache flushing, but still there is no improvement in the performance.
Is there a way to force Windows 7 machine to write file changes directly on hard drive instead of cache?
Reference link:
Share files between Linux host and Windows guest