Ask Your Question
0

KVM installed in blade server but not available in virtual box VM's

asked 2015-01-23 00:16:49 -0500

sudharsan gravatar image

Virtual box is installed in a blade server [Both blade server and virtual box VM is installed with ubuntu 14.04]

When I checked existance of KVM in the server, it returned hadmin@ubuntu:~$ kvm-ok INFO: /dev/kvm exists KVM acceleration can be used

But when I checked the existance of KVM in virtual box, it returned root@vm1:/var/log/libvirt/qemu# kvm-ok INFO: Your CPU does not support KVM extensions KVM acceleration can NOT be used root@vm1:/var/log/libvirt/qemu#

Do i need to configure anythin in virtual box to have KVM support which is available in blade server?

Have installed following packages in virtual box VM. qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-23 02:10:48 -0500

NoNoNoo gravatar image

You need to extend virtualization feature of your physical cpu to your virtualbox virtual cpu in order to use KVM Hypervisor inside a virtual machine of another hypervisor (virtual box in your case); this feature is called also nested virtualization.

From this url https://www.virtualbox.org/ticket/4032 I have seen that virtual box doesn't have nested virtualization feature.

You have two other options:

1) Use another hypervisor that support virtualization(VMware Workstation support it)

2) Use QEMU instead of KVM for Openstack that doesn't require virtualization cpu features

edit flag offensive delete link more

Comments

Thanks for the details. I'm using QEMU. Will it be too slow ? I have allocated good amount of harddisk space & RAM to the virtual box VM. It is taking more time to display Network Topology in Horizon page. Accessing VM in openstack is too slow.

sudharsan gravatar imagesudharsan ( 2015-01-23 02:48:41 -0500 )edit

QEMU should be slower than KVM in general but I think that it's ok for learning. KVM or QEMU are used by openstack only for execute the operating system of the instances. All the other component of openstack(horizon,neutron, network topology page and so on) shouldn't be affected by KVM o QEMU choice

NoNoNoo gravatar imageNoNoNoo ( 2015-01-23 03:14:25 -0500 )edit

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: 2015-01-23 00:16:49 -0500

Seen: 705 times

Last updated: Jan 23 '15