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

  1. Run the following command to check whether the ECS has VirtIO drivers installed:

    lsinitrd /boot/initramfs-$(uname -r).img | grep virtio