Skip to contentSkip to conversation

-cpu host, enforce fail on amd processor (CPUID.80000001H:EDX)

Qemu-devel Alexandre DERUMIER 2 participants 2 messages Jul 8, 2015 – Jul 22, 2015

lore
Share & tools
lore
#0 lore raw

Hi,
I'm currently testing -cpu host,enforce,
and it's failing to start on amd processors (tested with opteron 61XX,opteron 63xx,FX-6300 and FX-9590)

Is it expected ?

warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 0]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 1]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 2]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 3]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 4]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 5]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 6]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 7]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 8]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 9]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 12]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 13]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 14]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 15]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 16]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 17]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 23]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 24]

#1 lore raw
Quoted 5 lines · Alexandre DERUMIER

Hi,
I'm currently testing -cpu host,enforce,
and it's failing to start on amd processors (tested with opteron 61XX,opteron 63xx,FX-6300 and FX-9590)

Is it expected ?

It is not, and it should never happen (as the bits used by "-cpu host" should be exactly the same ones used when checking if host supports the feature). What's the QEMU version you are running?

Signature · 1 line
Eduardo