KVM does not work with EC2 C5.large

I used Centos AMI on AWS, with Type C5.large and HVM. I installed KVM packages, but when I run kvm-ok output is:

 Your CPU does not support KVM extensions KVM acceleration can NOT be used 

How does my processor not support acceleration?

+7
virtualization amazon-ec2 kvm
source share
1 answer

You are trying to start the virtual machine monitor in a virtual machine. This is the second level or nested virtualization that you are trying to achieve.

Since Intel hardware only supports one level of virtualization with hardware, adding support for efficient (i.e. not painfully slow) attachments requires a lot of smart programming in hypervisors. Fortunately, this has been done in many popular VMM software, including KVM. Regardless of whether it is enabled or dependent on the administrative settings of the top-level VMM, how it decides what to show its guests. You must ask your hosting / cloud operator for the ability to activate the support for nested virtualizations for your instances and that it will cost you a monetary value.

Alternatively, a single guest, not a virtual machine, may be the only alternative for you if you need more performance, as each level of virtualization increasingly adds overhead to resource consumption, especially I / O speed.

0
source share

All Articles