Virt Manager | Share files with Windows
Virt Manager | مشاركة الملفات بين لينكس وويندوز الافتراضي
Share a folder with Windows guest in Virt Manager⚓︎
شرح كيفية مشاركة وتبادل الملفات بين لينكس وويندوز كجهاز افتراضي على Virt Manger، الخطوات تصلح لـ Windows 10 و Windows 11.
#more
Host Steps⚓︎
- Create a
/shared/folder/on/hoston the Host. - Open VM settings > Memory and enable
shared memoryor add:
<memoryBacking>
<source type="memfd"/>
<access mode="shared"/>
</memoryBacking>
- Add Hardware - Filesystem:
Change
source dirandtarget dirto 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
WinFspfile to the VM and Install it - Open Services and find
VirtIO-FS Serviceset it toAutomaticand start it. - Restart