1 |
On Tue, Dec 20, 2016 at 8:12 PM, Walter Dnes <waltdnes@××××××××.org> wrote: |
2 |
|
3 |
> I have "Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz" on a physical host |
4 |
> machine. I'd like to emulate a cpu with the "movbe" instruction set. |
5 |
> Doing some testing, I tried, as root stuff like... |
6 |
> |
7 |
> qemu-system-x86_64 -enable-kvm -cpu Broadwell |
8 |
> |
9 |
> ...and got the following warnings |
10 |
> warning: host doesn't support requested feature: CPUID.01H:ECX.fma [bit 12] |
11 |
> warning: host doesn't support requested feature: CPUID.01H:ECX.movbe [bit |
12 |
> 22] |
13 |
> warning: host doesn't support requested feature: CPUID.07H:EBX.bmi1 [bit 3] |
14 |
> warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4] |
15 |
> warning: host doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5] |
16 |
> warning: host doesn't support requested feature: CPUID.07H:EBX.bmi2 [bit 8] |
17 |
> warning: host doesn't support requested feature: CPUID.07H:EBX.invpcid |
18 |
> [bit 10] |
19 |
> warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11] |
20 |
> warning: host doesn't support requested feature: CPUID.07H:EBX.rdseed [bit |
21 |
> 18] |
22 |
> warning: host doesn't support requested feature: CPUID.07H:EBX.adx [bit 19] |
23 |
> warning: host doesn't support requested feature: CPUID.07H:EBX.smap [bit |
24 |
> 20] |
25 |
> warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm |
26 |
> [bit 5] |
27 |
> warning: host doesn't support requested feature: CPUID.80000001H:ECX.3dnowprefetch |
28 |
> [bit 8] |
29 |
> |
30 |
> On real qemu sessions "grep movbe /proc/cpuinfo" doesn't get any hits. |
31 |
> I hope I'm doing something wrong here, rather than qemu not being able |
32 |
> to emulate a newer cpu. Any ideas? |
33 |
> |
34 |
> -- |
35 |
> Walter Dnes <waltdnes@××××××××.org> |
36 |
> I don't run "desktop environments"; I run useful applications |
37 |
> |
38 |
> |
39 |
I think the issue is using KVM there. When you're emulating something |
40 |
feature-different from the host cpu (or at least something that requires an |
41 |
added feature), I suspect you're stuck with non-accelerated emulation (I'm |
42 |
pretty sure the *old* acceleration kernel module is no longer maintained). |
43 |
I know qemu can do full emulation of instruction sets that the host cpu |
44 |
lacks because I've used it for arm... but I've never really toyed with |
45 |
other x86 series features like that personally. |
46 |
|
47 |
-- |
48 |
Poison [BLX] |
49 |
Joshua M. Murphy |