Virtio-win-0.1-59.iso !!link!! -
- name: Install viostor driver win_shell: | pnputil -i -a E:\amd64\viostor\viostor.inf $isoPath = "C:\ISOs\virtio-win-0.1-59.iso" $driveInfo = Mount-DiskImage -ImagePath $isoPath -PassThru $driveLetter = ($driveInfo | Get-Volume).DriveLetter + ":\" $driverInf = Get-ChildItem -Path "$driveLetter\amd64\viostor*.inf" -Recurse Select-String -Path $driverInf.FullName -Pattern "DriverVer"
Version 0.1-59 is an older but stable release (circa 2015–2017). Modern versions are 0.1.2xx +, but legacy systems often pin this version. When mounted, typical directory structure:
<DriverPaths> <PathAndCredentials wcm:action="add" wcm:keyValue="1"> <Path>E:\amd64\viostor</Path> </PathAndCredentials> <PathAndCredentials wcm:action="add" wcm:keyValue="2"> <Path>E:\amd64\NetKVM</Path> </PathAndCredentials> </DriverPaths> | Driver | Device | Purpose | Critical for boot? | |------------|---------------|----------------------------------------------|--------------------| | viostor | virtio-blk | Disk access (high performance) | Yes (boot volume) | | vioscsi | virtio-scsi | SCSI emulation, better for many disks | Yes | | NetKVM | virtio-net | Network device (much faster than e1000) | No | | viorng | virtio-rng | Provides entropy from host | No | | balloon | virtio-balloon| Dynamic memory management | No | | qxl | QXL | SPICE video acceleration | No (but recommended)| 5. Programmatic Access & Automation 5.1 Extract drivers without mounting (Python example) import iso9660 import shutil iso = iso9660.ISO9660('virtio-win-0.1-59.iso') for entry in iso.list_files(): if entry.name.endswith('.sys') or entry.name.endswith('.inf'): data = iso.read_file(entry) with open(f'extracted/entry.name', 'wb') as f: f.write(data) 5.2 Ansible playbook for driver installation (post-boot) - name: Install virtio drivers on Windows guest hosts: windows_vm tasks: - name: Mount virtio ISO win_disk_image: image_path: D:\virtio-win-0.1-59.iso state: present register: iso_mount - name: Install NetKVM driver win_shell: | pnputil -i -a E:\amd64\NetKVM\netkvm.inf virtio-win-0.1-59.iso
# Mount Windows image dism /Mount-Image /ImageFile:C:\win10.wim /Index:1 /MountDir:C:\mount dism /Image:C:\mount /Add-Driver /Driver:D:\amd64\viostor /Recurse dism /Image:C:\mount /Add-Driver /Driver:D:\amd64\NetKVM /Recurse Commit and unmount dism /Unmount-Image /MountDir:C:\mount /Commit 3.3 Unattended Windows Installation (Answer File) In autounattend.xml , specify the driver paths:
Output example:
:
1. Overview virtio-win-0.1-59.iso is a specific release of the virtio Windows drivers package, provided by the Fedora Virtualization Project (and Red Hat). It contains paravirtualized I/O drivers for Windows guests running on KVM, QEMU, libvirt, and oVirt. - name: Install viostor driver win_shell: | pnputil
: This ISO is not a Windows installation disc — it’s a driver bundle loaded at Windows install time or added post-install.