Ссылки:
1 2 3 4 5 6 7 |
https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/Virtiofs:-Shared-file-system https://github.com/winfsp/winfsp/releases/download/v2.0/winfsp-2.0.23075.msi https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso https://github.com/winfsp/winfsp/releases https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md https://libvirt.org/kbase/virtiofs.html https://virtio-fs.gitlab.io/ |
guest linux
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
0. Добавляем на гостя железку <domain> ... <memoryBacking> <source type='memfd'/> <access mode='shared'/> </memoryBacking> ... <devices> ... <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <source dir='/path'/> <target dir='mount_tag'/> </filesystem> ... </devices> </domain> 1. В госте монтируем каталог mount -t virtiofs mount_tag /mnt/mount/path |
guest windows
1 2 3 4 5 6 7 8 9 10 |
0. Устанавливаем драйверы, агента, службу WinFsp https://github.com/winfsp/winfsp/releases/download/v2.0/winfsp-2.0.23075.msi https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso 1. Если "общая папка" сама не появилась то можно выполнить вручную cmd cd "C:\Program Files (x86)\WinFsp\bin\" launchctl-x64.exe" start virtiofs viofsY mount_tag0 Y где: mount_tag0 - ваш так который вы указали в настройках гостя Y - желаемая буква (тоже надо viofsY) |