Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-137917

[virtio-win][virtio-fs] VirtioFs MS Office saving/locking problem (same as in issue #781)

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.3
    • rhel-10.1
    • virtio-win
    • rhel-virt-windows
    • 13
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      I have the same issue as reported in #781 in my Windows 11 VM running in KVM/QEMU.

      When trying to save the .xlsm file to its original location on the Virtiofs shared drive, I get this error: "The document was saved successfully, but Excel cannot re-open it because of a sharing violation." (see image below). Once saved, the file seems to be corrupted and Excel cannot open this file anymore. Files opened from the location within VM partitions (such as Disk C get opened and saved without any issues. At the moment, I have to transfer the Excel files to disk C: from Virtiofs drives to avoid such errors and file corruption.

      *To Reproduce*
      Create a shared filesystem using the virtiofs driver in Virt Manager; install virtio-win-guest-tools inside Windows VM; make vitiofs service running in Windows Services after which the shared drive shows up in Windows (such as Z; open an Excel file (in my case .xlsm file) from the shared drive and try to save it from Excel. Error message shows up

      *Expected behavior*
      Excel should be able to save files to the shared drive without any issues.

      *Screenshots*

      <img width="903" height="563" alt="Excel Error - virtiofs drive in Windows" src="https://github.com/user-attachments/assets/30e25c09-8d84-4aa0-8b81-07c6ad1d8f91" />

      *Host:*

      • Distro: XUbuntu 24.04
      • Kernel version: 6.14.0-33-generic
      • QEMU version: 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.10)
      • QEMU command line: N/A (using Virt Manager to run the VM)
      • libvirt version: 10.0.0
      • libvirt XML file:

      [libvirt.xml](https://github.com/user-attachments/files/22858284/libvirt.xml)

      *VM:*

      • Windows version: Windows 11 (24H2)
      • Which driver has a problem: presumably virtiofs
      • Driver version: virtio-win-guest-tools 0.1.285

      *Additional context*
      My shared drive is actually an NTFS partition that was easily accessible in Virtualbox with no issues...

              ybendito@redhat.com Yuri Benditovich
              yvugenfi@redhat.com Yan Vugenfirer
              Virt Windows SST Bugs Virt Windows SST Bugs
              Xiaoling Gao Xiaoling Gao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: