Checking Whether a Private Image Needs to be Optimized¶
If the ECS virtualization is KVM and VirtIO drivers are not installed, optimization is required.
If the ECS virtualization is KVM and VirtIO drivers are installed, optimization is not required.
Procedure¶
Run the following command to check whether the ECS has VirtIO drivers installed:
lsinitrd /boot/initramfs-$(uname -r).img | grep virtio
If virtio is displayed, VirtIO drivers have been installed. For more information, see Creating a Linux System Disk Image from an External Image File.
Otherwise, VirtIO drivers have not been installed. Optimize the private image as instructed in Process.