Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 895 Bytes

VirtManager-Win-Share.md

File metadata and controls

35 lines (26 loc) · 895 Bytes

Share a folder with Windows guest in Virt Manager

Host Steps

  • Create a /shared/folder/on/host on the Host.
  • Open VM settings > Memory and enable shared memory or add:
<memoryBacking>
  <source type="memfd"/>
  <access mode="shared"/>
</memoryBacking>
  • Add Hardware - Filesystem:

Change source dir and target dir to fit your setup

<filesystem type="mount" accessmode="passthrough">
  <driver type="virtiofs" queue="1024"/>
  <source dir="/shared/folder/on/host"/>
  <target dir="shared-folder-name-on-guest"/>
  <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
</filesystem>
  • Download WinFsp
  • Start Windows VM

Windows VM Steps

  • Copy WinFsp file to the VM and Install it
  • Open Services and find VirtIO-FS Service set it to Automatic and start it.
  • Restart