Discussion:
KVM not enabled
Alfredo De Luca
2014-02-18 05:32:31 UTC
Permalink
Hi all.
I setup a couple of VM in VirtualBox (Ubuntu 12.04.4 LTS) and both don't
have KVM enabled when they are up even if I set virtualization VT-x/AMD-V
(in the attachment).

On the dmesg log I can also see
*kvm: no hardware support*

Of course I tried to put the module kvm/kvm_intel but nothing changed and
also when I try

*sudo kvm-ok *

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

I have also another VM and I can't do any virtualizations on it for the
same issue (this time it's a Oracle VM server).

Do you know why? Any clue?

Alfredo
Gregory Nowak
2014-02-18 05:58:55 UTC
Permalink
Post by Alfredo De Luca
Do you know why? Any clue?
Either your processor doesn't support hardware virtualization, or
hardware virtualization is disabled in your bios. I also seem to
recall that you need to be running a 64-bit operating system to use
hardware virtualization, but I could be wrong there.

Greg
--
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-manager-iDweQDFWK/***@public.gmane.org
Kees Nuyt
2014-02-18 08:32:33 UTC
Permalink
Post by Alfredo De Luca
Hi all.
I setup a couple of VM in VirtualBox (Ubuntu 12.04.4 LTS) and both don't
have KVM enabled when they are up even if I set virtualization VT-x/AMD-V
(in the attachment).
On the dmesg log I can also see
*kvm: no hardware support*
Of course I tried to put the module kvm/kvm_intel but nothing changed and
also when I try
*sudo kvm-ok *
*INFO: Your CPU does not support KVM extensions*
*KVM acceleration can NOT be used*
I have also another VM and I can't do any virtualizations on it for the
same issue (this time it's a Oracle VM server).
Do you know why? Any clue?
Alfredo
Virtualization can't be nested.
There can only be one level of hypervisor, you can't run a
hypervisor within a hypervisor.
In your case, VBox is the hypervisor, so KVM cannot run in a VM.
--
Groet, Cordialement, Pozdrawiam, Regards,

Kees Nuyt
Alexey Eromenko
2014-02-18 15:03:01 UTC
Permalink
VirtualBox doesn't support nested hardware virtualization.

The good news is that latest 4th gen Intel Haswell processor supports that
(VMCS shadowing feature), so Oracle could enable it in next VirtualBox.

-Technologov
Alfredo De Luca
2014-02-19 00:38:23 UTC
Permalink
Hi all.
Thanks for that. I was sure VB supported the nesting virtualization.....but
it looks like it doesn't.

So what's the purpose to have VT-x/AMD check box on the VMs?

Regards
Post by Alexey Eromenko
VirtualBox doesn't support nested hardware virtualization.
The good news is that latest 4th gen Intel Haswell processor supports that
(VMCS shadowing feature), so Oracle could enable it in next VirtualBox.
-Technologov
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
VBox-users-community mailing list
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
?subject=unsubscribe
--
*Alfredo*
Alexey Eromenko
2014-02-19 01:25:29 UTC
Permalink
Post by Alfredo De Luca
So what's the purpose to have VT-x/AMD check box on the VMs?
Increased emulation correctness, 64bit guest, and multiprocessor support.
Alfredo De Luca
2014-02-19 04:40:01 UTC
Permalink
Fair enough!!

Cheers
Post by Alexey Eromenko
Post by Alfredo De Luca
So what's the purpose to have VT-x/AMD check box on the VMs?
Increased emulation correctness, 64bit guest, and multiprocessor support.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
VBox-users-community mailing list
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
?subject=unsubscribe
--
*Alfredo*
Continue reading on narkive:
Loading...