winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Feature: Integrate VirtIO Guest Drivers in Config Tab

Open ChrisTitusTech opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. Add virtio drivers quietly using the fedora virtio installer: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.262-2/virtio-win-guest-tools.exe

Describe the solution you'd like Auto install for a new windows VM that is using QEMU

ChrisTitusTech avatar Oct 07 '24 20:10 ChrisTitusTech

Might add the suggestion of adding virtio drivers to the MicroWin builder, as well.

ruxunderscore avatar Oct 07 '24 20:10 ruxunderscore

Might add the suggestion of adding virtio drivers to the MicroWin builder, as well.

The VirtIO drivers are also available using the ISO from https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso. This might be a better solution because this link is a permalink for the latest stable release, and the drivers are bundled inside without the need for an installer. For MicroWin, this could also be necessary because the VirtIO SCSI drivers need to be available for any drives to be detected during first-stage OOBE. For Windows 11 amd64, the SCSI drivers are located at D:\vioscsi\w11\amd64\vioscsi.inf (substitute D: for the ISO)

jschenke488 avatar Oct 15 '24 08:10 jschenke488

If the ISO is mounted to a VM, then we could add automatic installation of the guest tools to the unattend similar to https://schneegans.de/windows/unattend-generator/ The SCSI drivers would still need to be bundled though.

jschenke488 avatar Oct 15 '24 08:10 jschenke488

@ChrisTitusTech, for MicroWin, this is partly resolved by the 2025 preparation PR (not linking it here in case it closes this issue). In the future, we could either modify the Windows PE startup commands to add the drivers automatically with drvload or add the drivers while processing the image with DISM. The installation image will have the drivers installed by DISM.

Since I primarily use VMware for testing, I can't fully test that implementation, so you will have to do it when I make the respective PR for it.

CodingWonders avatar Dec 24 '24 07:12 CodingWonders