Ask Your Question
0

Is module kvm_intel needed if qemu is used?

asked 2014-09-03 14:26:35 -0500

Beel gravatar image

updated 2014-09-03 14:27:39 -0500

This is a question about the Install Gudi for Icehouse. The Ubunutu version of the installguide on this page

http://docs.openstack.org/icehouse/install-guide/install/apt/content/nova-compute.html

says that if the virtual cpu does not support hardware acceleration, we must edit the [libvirt] section in the /etc/nova/nova-compute.conf to change

virt_type = kvm

into

virt_type = qemu

Then in apparently the same section (as shown by the indented text in that section) it says to add the kvm module (for example kvm_intel) to /etc/modules so it will be loaded.

But, since we are using qemu instead of kvm, is this needed?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-09-04 08:22:25 -0500

larsks gravatar image

updated 2014-09-04 08:22:41 -0500

You only need to load the kvm_intel kernel module if you are using virt_type = kvm.

Note that if you are running in an environment without support for hardware accelerated virtualization (that is, if you are not using kvm), you will probably find the performance of virtual instances to be disappointing. virt_type = qemu is really only suitable for proof-of-concept or test environments.

edit flag offensive delete link more

Comments

Thanks for the direct answer! That means the action directed by the document is unnecessary (but I'm betting it's harmless). As for performance, this is currently a proof-of-concept, and yes, performance is already slow. The cpu is a in VM under VirtualBox on Win7 on an i3.

Beel gravatar imageBeel ( 2014-09-04 12:37:41 -0500 )edit
1

answered 2014-09-03 15:07:22 -0500

dbaxps gravatar image

KVM is kernel module, Qemu is user-land daemon ( kvm support merged mainline Qemu a while ago )

[root@icehouse1 nova(keystone_admin)]# lsmod | grep kvm
kvm_intel             138567  0 
kvm                   441119  1 kvm_intel
[root@icehouse1 nova(keystone_admin)]# virsh version
Compiled against library: libvirt 1.1.1
Using library: libvirt 1.1.1
Using API: QEMU 1.1.1
Running hypervisor: QEMU 1.5.3
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

Stats

Asked: 2014-09-03 14:26:35 -0500

Seen: 292 times

Last updated: Sep 04 '14