Displaying 4 results from an estimated 4 matches for "kvm_nested".
2016 Sep 25
0
How to enable the svm cpu flag inside a vm?
.../helper.c 2009-12-29 21:46:34.000000000 +0100
+++ qemu-kvm-0.12.1.2/target-i386/helper.c 2016-09-25 16:35:02.984334623 +0200
@@ -1811,8 +1811,10 @@ void cpu_x86_cpuid(CPUX86State *env, uin
/* disable CPU features that KVM cannot support */
/* svm */
+/*
if (!kvm_nested)
*ecx &= ~CPUID_EXT3_SVM;
+*/
/* 3dnow */
*edx &= ~0xc0000000;
} else {
Regards,
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
2016 Sep 25
0
How to enable the svm cpu flag inside a vm?
...Right. The fact that this has been lingering in the source for years on
end and only now is being announced as a tech preview seems to answer my
question in the sense that "no this is not possible" :S .
Guess I'll have to fire up my build vm then and see if nuking that test
for "kvm_nested" allows me to pass the svm cpu flag from a C6 host.
Regards,
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
2016 Sep 23
2
How to enable the svm cpu flag inside a vm?
Hello,
I'm trying to get the Android Emulator to run inside a kvm vm on
CentOS-6. Apparently the latest Android Emulators cannot run without
hardware acceleration so I am trying to get the vm to see the svm cpu
flag.
Host:
$ grep model\ name /proc/cpuinfo | sort -u
model name : AMD Phenom(tm) II X4 965 Processor
$ grep svm /proc/cpuinfo | sort -u
flags : fpu vme de pse tsc msr pae mce cx8
2016 Sep 25
3
How to enable the svm cpu flag inside a vm?
On Sun, Sep 25, 2016 at 04:38:39PM +0200, Leonard den Ottolander wrote:
> The qemu-kvm option "-enable-nesting" that I dug up in the source looks
> promising. No mention in the man page on either C6 or C7 but it is
> mentioned here:
> https://www.redhat.com/archives/libvir-list/2012-October/msg01138.html
>
> How do I pass the "-enable-nesting" option to