Installing VirtIO Drivers
Scenarios
This section only applies to KVM ECSs, which will replace Xen ECSs gradually. 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.
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.
Prerequisites
An EIP has been bound to the ECS. (This ECS is used to optimize a private image.)
Installing VirtIO Drivers
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.
- Log in to the Windows ECS using VNC.
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 a VirtIO driver package (virtio-win-gt-x64.msi as an example) of the required version by referring to Obtaining Required Software Packages.
Figure 1 Downloading a driver package
- After the download is complete, right-click virtio-win-gt-x64.msi and choose Run as administrator from the shortcut menu.
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.
- Wait until the installation is complete.
Figure 7 Installation in process
- Restart the ECS after the installation is complete.
Figure 8 Installation completed
Figure 9 Restart prompt
- After the restart, perform the operations in Verifying the Installation to verify that the VirtIO drivers have been successfully installed.
Verifying the Installation
Perform the following steps to verify the installation of the VirtIO drivers:
- Open Device Manager and search for VirtIO drivers.
- Check whether the VirtIO driver version and date displayed in Device Manager are the same as those of the VirtIO drivers you downloaded. If they are the same, the VirtIO drivers have been installed successfully.
Figure 10 Version and date of downloaded drivers
Figure 11 Version and date of drivers in Device Manager
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.