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

VM: Automatic Windows driver support #1863

Open
garrett opened this issue Oct 16, 2024 · 3 comments
Open

VM: Automatic Windows driver support #1863

garrett opened this issue Oct 16, 2024 · 3 comments

Comments

@garrett
Copy link
Member

garrett commented Oct 16, 2024

When adding a shared folder to a Windows guest I had to find a guide to find and install relevant drivers. The guides are easy to find, however.

Originally posted by @Betonhaus in #680 (comment)

@garrett
Copy link
Member Author

garrett commented Oct 16, 2024

The Windows driver ISO link is at https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md

The direct link from that document is https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso (for the stable version; there is a "latest" version too, which I guess is probably built from the main branch).

There's also an EXE @ https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win-guest-tools.exe

We could download (then cache for future VMs) and auto-mount the ISO when creating a Windows VM.

Or we could copy the EXE into the Windows VM, like to the Desktop so it's easy to see, perhaps. The ISO one feels like that'd be more possible and less fragile. However, the EXE is 29 MB whereas the ISO is 692 MB, so if we can use the EXE, that'd be better.

@Betonhaus
Copy link

Betonhaus commented Oct 16, 2024

Reference for the steps required
Requires WinFSB and virtio-win-guest-tools.exe and then enabling the VirtIO-FS Service, I don't see how cockpit-machines can simplify that aside from making their own installer for the guest tools, maybe just provide a link to instructions and the installer beside the button for adding shared volumes?

@garrett
Copy link
Member Author

garrett commented Oct 28, 2024

The Windows drivers I was talking about were more to make the graphics adaptable (so it resizes to the available size) than to have transparent desktop sharing.

Adding the ISO as a disk that's mounted is likely possible, and copying the EXE (which is smaller in filesize than the ISO) over to the desktop or something like that is probably possible too.

"WinFSB" is probably out of scope, but anything simple that can be done to make it easier or at least not get in the way of doing things like that would be good, of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants