Ask Your Question

virtualization type in /etc/nova/nova.conf

asked 2017-02-02 10:13:47 -0500

Gimaey gravatar image

Hi all,

I'm following the official documentation to install openstack newton on centos 7, however, when configuring virt_type in /etc/nova/nova.conf, the documentation says:

Determine whether your compute node supports hardware acceleration for virtual machines:

$ egrep -c '(vmx|svm)' /proc/cpuinfo If this command returns a value of one or greater, your compute node supports hardware acceleration which typically requires no additional configuration.

If this command returns a value of zero, your compute node does not support hardware acceleration and you must configure libvirt to use QEMU instead of KVM.

What I can't get is how if my node doesn't support hardware acceleration then I'm supposed to use qemu instead of kvm despite the fact that kvm is accelerating agent that is used alongside qemu?

edit retag flag offensive close merge delete


Which CPU you have installed on the board ?
Have your BIOS settings "Enable VT-X support ?
What is current output lsmod | grep kvm been run by root ?

dbaxps gravatar imagedbaxps ( 2017-02-02 10:40:32 -0500 )edit

Enabling kvm acceleration will update qemu process (cmd) matching particular VM Guest. It requires CPU >= E(XXX) Core2Duo and BIOS supporting VT-X CPU's feature.

dbaxps gravatar imagedbaxps ( 2017-02-02 10:44:28 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-02 20:41:14 -0500

updated 2017-02-02 20:43:42 -0500

qemu is a CPU emulator and doesn't feature HW acceleration out of the box. HW acceleration is achieved by a kernel module named KVM and, I think, some modification of qemu.

In nova.conf, "qemu" is short for "qemu without HW acceleration", "kvm" means "qemu with HW acceleration thanks to KVM". See also

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2017-02-02 10:13:47 -0500

Seen: 178 times

Last updated: Feb 02 '17