Nested in Proxmox 3.3 error

malchugun

New Member
Feb 18, 2015
4
0
1
Greetings!
#uname -a
Linux h3 3.10.0-7-pve #1 SMP Thu Jan 22 11:20:00 CET 2015 x86_64 GNU/Linux
#modinfo kvm_intel|grep -i nested
parm: nested:bool
#cat /sys/module/kvm_intel/parameters/nested
Y

In config file of virtual machine I set "args: -enable-nesting" option.
But when I tried to start I've got "kvm: -enable-nesting: invalid option"...
Whats wrong, maybe I need special pve-qemu-kvm?
 
Hi,
What you must do is set the CPU from the VM on Type "host"
and be sure that KVM hardware visualization is turned on.
That's it.
 
This options was set.

VMconfig

args: -enable-nesting
bootdisk: virtio0
cores: 1
cpu: host
ide2: none,media=cdrom
memory: 3080
name: fosx
net0: virtio=3A:67:9F:C6:5C:F1,bridge=vmbr0
ostype: l26
smbios1: uuid=91fbb5ec-52d9-4139-a9fd-0f6c79ec52eb
sockets: 1
virtio0: local:111/vm-111-disk-1.qcow2,format=qcow2,size=32G

cat /proc/cpuinfo |grep vmx
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
 
No results, still have an error.... "kvm: -enable-nesting: invalid option"

pve-qemu-kvm 2.1-5 from box
It's strange ! But in binnary file no string with -enable-nesting

strings /usr/bin/kvm |grep nesting
r->nesting > 0

Have any ideas?
 
Where come the -enable-nesting from!
 
Try this:

args: -enable-kvm
bootdisk: virtio0
cores: 1
cpu: host
ide2: none,media=cdrom
memory: 3080
name: fosx
net0: virtio=3A:67:9F:C6:5C:F1,bridge=vmbr0
ostype: l26
smbios1: uuid=91fbb5ec-52d9-4139-a9fd-0f6c79ec52eb
sockets: 1
virtio0: local:111/vm-111-disk-1.qcow2,format=qcow2,size=32G