Virtio-win guest tools installer is a msi (Microsoft installer) created with Wix Toolset which installs:
Virtio-win drivers - KVM/QEMUY windows guest drivers for both paravirtual and emulated hardware, more on Github Repo.
Spice guest agent and driver - Spice is an open remote computing solution, providing client access to remote machine display and devices, more info on the Offical website.
The installer is distributed as part of virtio-win package on Fedora.
The installer can be built in two ways, using oVirt CI mock runner tool and a manual build using make.
Before buidling the installer you must have the virtio-win drivers localy on the format which they are distributed on the iso:
|-Balloon['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-NetKVM['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-pvpanic['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-fwcfg['2k16', '2k19', '2k22', '2k25', 'w10', 'w11]
|-qemupciserial['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-vioinput['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-viorng['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-vioscsi['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-vioserial['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-viostor['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-viofs['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-viogpu['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
|-viomem['2k16', '2k19', '2k22', '2k25', 'w10', 'w11']
You can get it by:
-
Extracting the virtio-win iso content (availabe on virtio-win rpm package).
-
Run make-driver-dir.py from virtio-win-pkg-scripts github repo.
-
Follow the instructions on oVirt CI mock runner docs for setting up and installing mock runner.
-
Create a soft link to the drivers directory:
ln -sf ${VIRTIO_WIN_DRIVERS_PATH} $(pwd)/vwi
-
Once mock_runner is setup, from the project root directory run:
path/to/jenkins/mock_configs/mock_runner.sh -b fc30
-
The build artifacts which are 2 msis (x64, x86) and one .exe file will be on the exported artifacts directory, which was created during the build process.
-
Make sure all the packages on automation/build-artifacts.packages are installed on the machine, relevant repos can be found on automation/build-artifacts.repos.
-
Run the build script ./automation/build-artifacts.sh VIRTIO_WIN_DRIVERS_PATH SPICE_VDAGENT_64_MSI_PATH SPICE_VDAGENT_86_MSI_PATH SPICE_DRIVER_64_MSI_PATH SPICE_DRIVER_86_MSI_PATH QEMU_GA_64_MSI_PATH QEMU_GA_86_MSI_PATH VERSION
- VIRTIO_WIN_DRIVERS_PATH - dir containing the virtio-win drivers
- SPICE_VDAGENT_64_MSI_PATH - path to the spice ga x64 MSI
- SPICE_VDAGENT_86_MSI_PATH - path to the spice ga x86 MSI
- SPICE_DRIVER_64_MSI_PATH - path to the spice driver x64 MSI
- SPICE_DRIVER_86_MSI_PATH - path to the spice driver x86 MSI
- QEMU_GA_64_MSI_PATH - path to the qemu ga x64 MSI
- QEMU_GA_86_MSI_PATH - path to the qemu ga x86 MSI
- VERSION - version on the installer
-
The build artifacts which are 2 msis (x64, x86) and one .exe file will be on the exported artifacts directory, which was created during the build process.
Contributions are more than welcome, please fork the repository and create a PR.