VirtIO is a standard interface for VMs to access host devices. It is used to improve the I/O performance between VMs and hosts. For details about VirtIO, see VirtIO. For details about open-source code of virtio-win/kvm-guest-drivers-windows, see https://github.com/virtio-win/kvm-guest-drivers-windows.
Before using an ECS or external image file to create a private image, ensure that VirtIO drivers have been installed in the OS so that ECSs created from this image can support KVM virtualization and the network performance can be improved.
This section describes how to install VirtIO drivers on a KVM ECS.
If you do not install VirtIO drivers, ECS NICs cannot be detected. As a result, the ECSs cannot communicate with other resources.
If an ECS is created from a public image, VirtIO drivers have been installed by default.
An EIP has been bound to the ECS. (This ECS is used to optimize a private image.)
The following uses virtio-win-gt-x64.msi in version virtio-win-0.1.189-1 as an example to describe how to install VirtIO drivers.
For details about how to log in to an ECS, see Elastic Cloud Server User Guide.
You must log in to the ECS using VNC. Remote desktop connection is not allowed because the NIC driver needs to be updated during the installation but the NIC is in use for the remote desktop connection. As a result, the installation will fail.
Download path:
Figure 1 Downloading a driver package

Figure 2 Starting the installation

Figure 3 Installation wizard

Figure 4 Accepting the agreement

Select the VirtIO drivers to be installed. In this example, select all VirtIO drivers.
Figure 5 Selecting VirtIO drivers to install

Figure 6 Proceeding with the installation.

Figure 7 Installation in process

Figure 8 Installation completed

Figure 9 Restart prompt

Perform the following steps to verify the installation of the VirtIO drivers:
Figure 10 Version and date of downloaded drivers

Figure 11 Version and date of drivers in Device Manager
