You are not logged in.
Hello everybody,
I' m trying to use nested virtualization with qemu.
Apparently the option "-cpu host" is deprecated so I used the option "-cpu qemu64,+vm" which work.
The problem is that I can't add the option "-enable-kvm"... If I do, it results in kernel parnic on the virtualized operating system.
If I try to install a new virtual machine with both options, "-cpu qemu64,+vm -enable-kvm", then, vmx is not detected in the virtualized operating system...
I verified that nested virtualization was enabled with the command "systool -m kvm_intel -v | grep nested" and the answer is Yes.
Is this a bug or am I missing something?
Offline
man page of qemu doesn't mention anything about -cpu host being deprecated, where did you find that info ?
For running with kvm use something like this :
-machine type=pc,accel=kvm
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
ok ,maybe I was wrong saying it is deprecated, I remember reading this on a forum but I can't find that forum anymore...
Anyway, using -machine type=pc,accel=kvm did not solve the problem.
using "-cpu host -machine type=pc,accel=kv" makes my vm crash with the message "Panic on cpu 0:"
If I use "-cpu qemu64,+vmx -machine type=pc,accel=kv" the kmv acceleration works but no vmx support.
By the way, the command "qemu-system-x86_64 -cpu host" returns "Unable to find CPU definition: host ; Unable to find x86 CPU definition"
I' m using an i7 ivy-bridge.
Offline
Did you try using '-enable-kvm' with both qemu instances?
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Yes, I tried, same result :S
Offline