Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add directions to increase WebDAV filesize limit #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion settings-qemu/sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ When this option is enabled and the [SPICE guest tools]({% link guest-support/gu
Two methods of directory sharing are supported by UTM.

### SPICE WebDAV
This requires the [SPICE guest tools]({% link guest-support/guest-support.md %}) to be installed on the guest. The shared directory is exposed as a WebDAV mount on the guest's localhost (typically on port 9843). This option has better support for Windows but can have worse performance than VirtFS on Linux.
This requires the [SPICE guest tools]({% link guest-support/guest-support.md %}) to be installed on the guest. The shared directory is exposed as a WebDAV mount on the guest's localhost (typically on port 9843). On Linux, you should prefer VirtFS, which is faster. For Windows guests, this is the only option.

For some versions of Windows (tested on Windows 11 23H2), the WebDAV client has a default file size limit of 50 MB.
To increase this in the Registry:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters]
"FileSizeLimitInBytes"=dword:ffffffff

### VirtFS
This requires the guest operating system to have driver support for 9pfs and VirtIO. The shared directory is exposed under the VirtFS tag `share`. Note that unlike WebDAV, the shared directory cannot be changed while the VM is powered on. There is currently a lack of Windows support but the performance on Linux is much better so this is the recommended option if you are running Linux. See [this page]({% link guest-support/linux.md %}) for more information.