Skip to content

VVFAT :rw writes from guest (ReactOS, windowsXP) not visible by host

Host environment

  • Operating system: RaspberryOS on RPI4
  • QEMU flavor: (qemu-system-x86_64, qemu-aarch64, qemu-img, etc.)
  • QEMU version: (e.g. qemu-system-x86_64 --version)
  • QEMU command line:

./qemu-7.0.0/build/qemu-system-i386 -m 1G -hda ros0.4.15.img -drive format=raw,file=fat:rw:./LMS -cdrom reactos-bootcd-0.4.15-dev-4946-ge9a129c-x86-gcc-lin-dbg.iso -serial file:ReactOS.log -boot order=d

Emulated/Virtualized environment

  • Operating system: ReactOS
  • OS/kernel version: 0.4.15 (same behavior observed with Windows XP SP3)

Description of problem

As described in https://jira.reactos.org/browse/CORE-18327 While ./LMS is mounted as a :rw VVFAT drive, guest OS (ReactOS) is able to read files BUT when files are "written" from the guest, they are not visible on host side. QEMU execution is also massively polluted by "invalid file name" messages coming from https://git.qemu.org/?p=qemu.git;a=blob_plain;f=block/vvfat.c;hb=HEAD (but this is not specific to the use with ReactOS, as this is also observed with other guest : WXP, ...)

See attached screenshot showing WXPSP3 as guest with file created in VVFAT drive while guest misses the newly created file.

Edited by Kyle Katarn
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information