Files
qt5/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/virtio.txt
Heikki Halmet 4eaaaa7c7c Replace Windows 10 21H1 with Windows 10 21H2 in CI
Tier 1 image includes all configurations from
pre-provisioning folder.
E.g. these are pre-provisioned:
Visual Studio 2015 version 14.0.25420.1 Update 3
Visual Studio 2019 + build tools version 16.11.7
Visual Studio 2022 + build tools version 17.0.1

Task-number: QTQAINFRA-4651
Pick-to: 6.2
Change-Id: I738ac703d72620f84008ac8a5e5d57911d89d055
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2021-12-04 12:36:10 +02:00

32 lines
1.7 KiB
Plaintext

Install virtio
Our vanilla images are pre-installed in VMware where we have networking available. In KVM we can
use the VMware installed vmxnet3 NIC to fetch VirtIO drivers, install them, and only then switch
to using the VirtIO NIC in KVM.
NOTE! Install these Virtio drivers in Opennebula when using Windows 10 20H2
* Download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.204-1/virtio-win-0.1.204.iso
cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/virtio-win-0.1.204.iso
* Mount virtio-win-0.1.185.iso by double clicking it.
* Right click 'E:\NetKVM\w10\amd64\netkvm.inf' and select Install
* Right click 'E:\Balloon\w10\amd64\balloon.inf' and select Install
* Right click 'E:\vioscsi\w10\amd64\vioscsi.inf' and select Install
* Right click 'E:\vioserial\w10\amd64\vioser.inf' and select Install
* Navigate to E:\guest-agent directory and double click qemu-ga-x86_64
Because vioscsi does not install the entries in windows registry before we actually
have a VirtIO device installed, and we can't boot with a VirtIO device before
the driver is installed, we have to blindly install the registry entries:
* Download https://bugreports.qt.io/secure/attachment/95685/95685_vioscsi.reg
cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/vioscsi.reg
However, we've seen that the Owner in the registry can be wrong. This entry
sets it to oem11.inf, but we've seen it be oem10.inf in one case and it has
to be corrected so that it will boot from the VirtIO driver. This was found out
by having 2 devices installed simultaneously and having the drivers install
properly into the registry.
* Eject the mounting
* Remove downloaded virtio-win-0.1.171.iso