Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] OT: Can QEMU emulate cpu instructions the host cpu doesn't have?
Date: Wed, 21 Dec 2016 01:12:21
Message-Id: 20161221011202.GA19767@waltdnes.org
1 I have "Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz" on a physical host
2 machine. I'd like to emulate a cpu with the "movbe" instruction set.
3 Doing some testing, I tried, as root stuff like...
4
5 qemu-system-x86_64 -enable-kvm -cpu Broadwell
6
7 ...and got the following warnings
8 warning: host doesn't support requested feature: CPUID.01H:ECX.fma [bit 12]
9 warning: host doesn't support requested feature: CPUID.01H:ECX.movbe [bit 22]
10 warning: host doesn't support requested feature: CPUID.07H:EBX.bmi1 [bit 3]
11 warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
12 warning: host doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]
13 warning: host doesn't support requested feature: CPUID.07H:EBX.bmi2 [bit 8]
14 warning: host doesn't support requested feature: CPUID.07H:EBX.invpcid [bit 10]
15 warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]
16 warning: host doesn't support requested feature: CPUID.07H:EBX.rdseed [bit 18]
17 warning: host doesn't support requested feature: CPUID.07H:EBX.adx [bit 19]
18 warning: host doesn't support requested feature: CPUID.07H:EBX.smap [bit 20]
19 warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5]
20 warning: host doesn't support requested feature: CPUID.80000001H:ECX.3dnowprefetch [bit 8]
21
22 On real qemu sessions "grep movbe /proc/cpuinfo" doesn't get any hits.
23 I hope I'm doing something wrong here, rather than qemu not being able
24 to emulate a newer cpu. Any ideas?
25
26 --
27 Walter Dnes <waltdnes@××××××××.org>
28 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] OT: Can QEMU emulate cpu instructions the host cpu doesn't have? "Poison BL." <poisonbl@×××××.com>