Ask Your Question

hypervisor_type = QEMU, but virt_type=kvm

asked 2016-05-03 10:55:41 -0600

herrsergio gravatar image

updated 2016-05-03 12:07:48 -0600

larsks gravatar image

Hi everybody,

I have the following question, I have configured in the computes to use kvm (/etc/nova/nova-compute.conf):


But when I execute the following command, the output says it is using QEMU:

# nova hypervisor-show 5 | grep hypervisor_type
| hypervisor_type           | QEMU

OpenStack version in Kilo.

Thanks in advance.

* Update in response to larsks *

I haven't changed anything since the installation and the start of the services.

# virsh capabilities | grep kvm
<baselabel type='kvm'>+0:+0</baselabel>
<domain type='kvm'>
<domain type='kvm'>

But I found something:

#  virt-host-validate
QEMU: Checking for hardware virtualization                                 : PASS
QEMU: Checking for device /dev/kvm                                         : PASS
QEMU: Checking for device /dev/vhost-net                                   : PASS
QEMU: Checking for device /dev/net/tun                                     : PASS
LXC: Checking for Linux >= 2.6.26                                         : PASS

And when I get the "virsh dumpxml" of an instance:

<domain type='kvm' id='44'>

Is that the problem ? If yes, how can I force it to use qemu-kvm.

edit retag flag offensive close merge delete


Did you restart nova-compute after making this change? Does virsh capabilities show a kvm domain for the x86_64 arch?

larsks gravatar imagelarsks ( 2016-05-03 11:13:46 -0600 )edit

I will reply below, because the comment doesn't fit here.

herrsergio gravatar imageherrsergio ( 2016-05-03 11:44:49 -0600 )edit

I fixed that for you.

larsks gravatar imagelarsks ( 2016-05-03 12:08:27 -0600 )edit

Thank you.

herrsergio gravatar imageherrsergio ( 2016-05-03 12:57:13 -0600 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2016-05-03 20:35:12 -0600

Carrot gravatar image

'ps' command in your compute node.

ps axfu | grep -e qemu -e kvm

If show like this 'qemu-system-x86_64 -machine accel=kvm:tcg' ,KVM work well.

Please refer this.

edit flag offensive delete link more

answered 2016-05-03 11:36:52 -0600

hkominos gravatar image

Also in Fuel-Kilo nova is managed my 2 files instead of one. One is nova.conf and the other is called nova-compute.conf. They are in the same place and they must both be changed. Type ps -ax |grep nova on the compute host in you will see in the config-files option where is the second file. Could be the issue if you have Fuel

edit flag offensive delete link more


Thanks, I don't use Fuel.

herrsergio gravatar imageherrsergio ( 2016-05-03 11:45:41 -0600 )edit

answered 2018-06-16 15:18:51 -0600

XP_2600 gravatar image

I have the same issue, i am using queens, /etc/nova/nova.conf shows: [libvirt] vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver virt_type=kvm

but when i run nova hypervisor-show

i get hypervisor_type | QEMU

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

1 follower


Asked: 2016-05-03 10:55:41 -0600

Seen: 1,564 times

Last updated: May 03 '16