Displaying 3 results from an estimated 3 matches for "cpu_x86_cpuid".
2016 Sep 25
0
How to enable the svm cpu flag inside a vm?
...m using either
virt-manager.py, virsh or the domain xml?
Hoping to avoid having to patch the source a such:
--- qemu-kvm-0.12.1.2.000/target-i386/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.
--...
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
2011 Feb 26
1
make world error
....o
CC i386-dm/virtio-net.o
CC i386-dm/virtio-console.o
CC i386-dm/fw_cfg.o
CC i386-dm/kvm.o
/usr/src/xen-4.0.1/tools/ioemu-dir/target-i386/kvm.c: In function
‘kvm_arch_init_vcpu’:
/usr/src/xen-4.0.1/tools/ioemu-dir/target-i386/kvm.c:47: warning:
implicit declaration of function ‘cpu_x86_cpuid’
/usr/src/xen-4.0.1/tools/ioemu-dir/target-i386/kvm.c: In function
‘kvm_has_msr_star’:
/usr/src/xen-4.0.1/tools/ioemu-dir/target-i386/kvm.c:159: error:
‘MSR_STAR’ undeclared (first use in this function)
/usr/src/xen-4.0.1/tools/ioemu-dir/target-i386/kvm.c:159: error: (Each
undeclared identifier is...