Hardware Virtualization inside KVM

si458

Renowned Member
hey,

ive got a question?
Im currently running proxmox on an:- 4 x AMD Phenom(tm) II X4 945 Processor
and it allows KVM and openvz

my question is, can i run virtualization inside a kvm?
e.g: run proxmox inside a kvm running on proxmox?

ive installed proxmox fine inside a KVM but it says:
Attention: This CPU does not support KVM virtual machines (no Intel VT / AMD-V support).

is the a way of enabling the virtualization?

cheers

SASmith
Simon Smith
 
hey,

ive got a question?
Im currently running proxmox on an:- 4 x AMD Phenom(tm) II X4 945 Processor
and it allows KVM and openvz

my question is, can i run virtualization inside a kvm?
e.g: run proxmox inside a kvm running on proxmox?

ive installed proxmox fine inside a KVM but it says:
Attention: This CPU does not support KVM virtual machines (no Intel VT / AMD-V support).

is the a way of enabling the virtualization?

cheers

SASmith
Simon Smith
Hi,
this makes normaly no sense - only for testing.

But look at this thread ( i havn't tried it for a long time): http://forum.proxmox.com/threads/2675-nested-proxmox

Udo
 
hey,

ive got a question?
Im currently running proxmox on an:- 4 x AMD Phenom(tm) II X4 945 Processor
and it allows KVM and openvz

my question is, can i run virtualization inside a kvm?
e.g: run proxmox inside a kvm running on proxmox?

ive installed proxmox fine inside a KVM but it says:
Attention: This CPU does not support KVM virtual machines (no Intel VT / AMD-V support).

is the a way of enabling the virtualization?

cheers

SASmith
Simon Smith

As far as I know this is normal. I had same problem when trying to test on my local pc and tried installing proxmox as kvm on Vmware which failed to create kvm. My real machine in fact supports Intel VT. Because I installed proxmox on Vmware, I can not use VT in Vmware.
 
Hi,
this makes normaly no sense - only for testing.

But look at this thread ( i havn't tried it for a long time): http://forum.proxmox.com/threads/2675-nested-proxmox

Udo

The last post on that thread indeed has the correct information.
Thanks for the link Udo!

Yesterday when I was trying to install windows inside proxmox running in proxmox the windows installer kept hanging.
After changing to the 2.6.35-1-pve on the physical and virtual proxmox the windows installer stopped hanging and installed with success.
It does run noticeably slower, but it seems to run with no issues.
Not sure what was wrong with 2.6.32-4-pve but 2.6.35-1-pve seems to work ok when doing nested virtualization.
 
The last post on that thread indeed has the correct information.
Thanks for the link Udo!

Yesterday when I was trying to install windows inside proxmox running in proxmox the windows installer kept hanging.
After changing to the 2.6.35-1-pve on the physical and virtual proxmox the windows installer stopped hanging and installed with success.
It does run noticeably slower, but it seems to run with no issues.
Not sure what was wrong with 2.6.32-4-pve but 2.6.35-1-pve seems to work ok when doing nested virtualization.

thank you udo for the URL it worked
also thank you e100 for saying READ THE LAST POST!

the args: -enable-nesting worked!

also this url : http://pve.proxmox.com/wiki/Allow_Guests_Access_to_Host_CPU

they should input the args value so you can use KVM inside your KVM :p

cheers everyone
 
Sorry for reopening an old thread. I am trying to make nested virt work with stable kernel.

pve kernel 2.6.32 doesnt have the nested parametr. Is there a way to add it?

root@test:~# modinfo kvm_intel
filename: /lib/modules/2.6.32-26-pve/kernel/arch/x86/kvm/kvm-intel.ko
license: GPL
author: Qumranet
srcversion: 672265D1CCD374958DD573E
depends: kvm
vermagic: 2.6.32-26-pve SMP mod_unload modversions
parm: bypass_guest_pf:bool
parm: vpid:bool
parm: flexpriority:bool
parm: ept:bool
parm: unrestricted_guest:bool
parm: eptad:bool
parm: emulate_invalid_guest_state:bool
parm: yield_on_hlt:bool
parm: vmm_exclusive:bool
parm: ple_gap:int
parm: ple_window:int
 
i know this is my old post but just an update....
from what ive found out, you can only nest KVM if the processor is an AMD...
because the nested option is in amd processor file but not intel :(

root@proxmox:~# modinfo kvm_intel
filename: /lib/modules/2.6.32-26-pve/kernel/arch/x86/kvm/kvm-intel.ko
license: GPL
author: Qumranet
srcversion: 672265D1CCD374958DD573E
depends: kvm
vermagic: 2.6.32-26-pve SMP mod_unload modversions
parm: bypass_guest_pf:bool
parm: vpid:bool
parm: flexpriority:bool
parm: ept:bool
parm: unrestricted_guest:bool
parm: eptad:bool
parm: emulate_invalid_guest_state:bool
parm: yield_on_hlt:bool
parm: vmm_exclusive:bool
parm: ple_gap:int
parm: ple_window:int
root@proxmox:~# modinfo kvm_amd
filename: /lib/modules/2.6.32-26-pve/kernel/arch/x86/kvm/kvm-amd.ko
license: GPL
author: Qumranet
srcversion: 679803F5F80272F39246E50
depends: kvm
vermagic: 2.6.32-26-pve SMP mod_unload modversions
parm: npt:int
parm: nested:int
root@proxmox:~#
 
i know this is my old post but just an update....
from what ive found out, you can only nest KVM if the processor is an AMD...
because the nested option is in amd processor file but not intel :(
Hi,
no that isn't correct - intel has followed (don't know since which kernel/cpu-version) amd since a long time and can also use for nested virtualisation.

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!