|
From: | akhilesh rawat |
Subject: | Re: [Qemu-discuss] ERROR unsupported configuration: guest and host CPU are not |
Date: | Mon, 23 Jan 2017 14:36:21 +0530 |
Let me check on point 4 and see .point 3 is exactly i got and so i am using -noTsX which have the error i raised .So then point 1 is not relevant to my case .We i use below commandHi ,thanks for checking .
address@hidden qemu]# virt-install --virt-type kvm --name compute-2 --cpu Haswell-noTSX --ram=61440 --vcpus=20 --os-type=linux --os-variant=generic --disk compute2-disk0.qcow2,device=disk,bus=ide,size=300,sparse= true,format=qcow2 --pxe --network bridge=virbr0,model=e1000 --network bridge=virbr0,model=e1000 --network bridge=virbr0,model=virtio --network bridge=virbr0,model=virtio --graphics vnc,port=5906 --noautoconsole On Wed, Jan 11, 2017 at 10:25 PM, Jakob Bohm <address@hidden> wrote:(top posting to keep thread consistent)
1. It looks like you are not invoking qemu directly (I don't think
qemu uses the term 'domain' for a virtual machine). Maybe your
wrapper tool is refusing the request without even trying to pass
it to qemu. If that is the issue, you need to upgrade/fix that
tool.
2. kvm works by putting your hardware CPU into a mode which can
execute a virtual machine directly. Thus the ability of kvm to
emulate instruction behaviors different from the hardware CPU is
limited to cases where the hardware CPU can be told to call back to
kvm whenever a virtual machine tries to execute that instruction
and/or query the CPUID instruction for its availability. In
contrast the (slower) basic qemu emulator may be able to emulate
almost anything you can describe to it, although not every desired
combination of host and guest instruction may have been included in
the qemu source tree.
3. The suggestion to use a "-noTSX" variant of Haswell may indicate
that the hardware CPU is deliberately refusing to let emulators such
as kvm fake some of Intel's "secure execution/measured execution"
features. But maybe the error message is just including an
irrelevant suggestion for your situation.
4. Large parts of kvm resides in the Linux kernel, not in the
qemu-kvm package. Maybe the kernel part of kvm is too old.
P.S.
lscpu provides less information than cat /proc/cpuinfo, but I think
there was enough information in this case. For example, someone
who cares may be able to figure out if a Xeon(R) E5-2620 is a Haswell
or compatible chip.
On 11/01/2017 06:16, akhilesh rawat wrote:
ERROR unsupported configuration: guest and host CPU are not compatible: Host CPU does not provide required features: fma, movbe, fsgsbase, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm; try using 'Haswell-noTSX' CPU model
Domain installation does not appear to have been successful
On Wed, Jan 11, 2017 at 10:44 AM, akhilesh rawat <address@hidden <mailto:address@hidden.com >> wrote:
Hi ,
I want to create VM with CPU type HAswell however unable to do so
due to this error
I manged to update my KVM emulator to 2.6 from 1.5 but still I
see face same error. Can i get help if i QEMU support same on my
host CPU Arch .
address@hidden ~]# rpm -qa|grep qemu
qemu-img-ev-2.6.0-27.1.el7.x86_64
ipxe-roms-qemu-20160127-5.git6366fa7a.el7.noarch
centos-release-qemu-ev-1.0-1.el7.noarch
qemu-kvm-ev-2.6.0-27.1.el7.x86_64
libvirt-daemon-driver-qemu-2.0.0-10.el7_3.2.x86_64
qemu-guest-agent-2.5.0-3.el7.x86_64
qemu-kvm-common-ev-2.6.0-27.1.el7.x86_64
address@hidden ~]# /usr/libexec/qemu-kvm -cpu ?
x86 qemu64 QEMU Virtual CPU version 2.5+
x86 phenom AMD Phenom(tm) 9550 Quad-Core Processor
x86 core2duo Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
x86 kvm64 Common KVM processor
x86 qemu32 QEMU Virtual CPU version 2.5+
x86 kvm32 Common 32-bit KVM processor
x86 coreduo Genuine Intel(R) CPU T2600 @ 2.16GHz
x86 486
x86 pentium
x86 pentium2
x86 pentium3
x86 athlon QEMU Virtual CPU version 2.5+
x86 n270 Intel(R) Atom(TM) CPU N270 @ 1.60GHz
x86 cpu64-rhel6 QEMU Virtual CPU version (cpu64-rhel6)
x86 Conroe Intel Celeron_4x0 (Conroe/Merom Class Core 2)
x86 Penryn Intel Core 2 Duo P9xxx (Penryn Class Core 2)
x86 Nehalem Intel Core i7 9xx (Nehalem Class Core i7)
x86 Westmere Westmere E56xx/L56xx/X56xx (Nehalem-C)
x86 SandyBridge Intel Xeon E312xx (Sandy Bridge)
x86 IvyBridge Intel Xeon E3-12xx v2 (Ivy Bridge)
x86 Haswell-noTSX Intel Core Processor (Haswell, no TSX)
x86 Haswell Intel Core Processor (Haswell)
x86 Broadwell-noTSX Intel Core Processor (Broadwell, no TSX)
x86 Broadwell Intel Core Processor (Broadwell)
x86 Skylake-Client Intel Core Processor (Skylake)
x86 Opteron_G1 AMD Opteron 240 (Gen 1 Class Opteron)
x86 Opteron_G2 AMD Opteron 22xx (Gen 2 Class Opteron)
x86 Opteron_G3 AMD Opteron 23xx (Gen 3 Class Opteron)
x86 Opteron_G4 AMD Opteron 62xx class CPU
x86 Opteron_G5 AMD Opteron 63xx class CPU
x86 host KVM processor with all supported host features (only
available in KVM mode)
Recognized CPUID flags:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 pn clflush ds acpi mmx fxsr sse sse2 ss ht tm ia64 pbe
pni|sse3 pclmulqdq|pclmuldq dtes64 monitor ds_cpl vmx smx est tm2
ssse3 cid fma cx16 xtpr pdcm pcid dca sse4.1|sse4_1 sse4.2|sse4_2
x2apic movbe popcnt tsc-deadline aes xsave osxsave avx f16c rdrand
hypervisor
fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx
avx512f avx512dq rdseed adx smap avx512ifma pcommit clflushopt
clwb avx512pf avx512er avx512cd avx512bw avx512vl
avx512vbmi pku ospke
syscall nx|xd mmxext fxsr_opt|ffxsr pdpe1gb rdtscp lm|i64 3dnowext
3dnow
lahf_lm cmp_legacy svm extapic cr8legacy abm sse4a misalignsse
3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm
topoext perfctr_core perfctr_nb
invtsc
xstore xstore-en xcrypt xcrypt-en ace2 ace2-en phe phe-en pmm pmm-en
kvmclock kvm_nopiodelay kvm_mmu kvmclock kvm_asyncpf
kvm_steal_time kvm_pv_eoi kvm_pv_unhalt kvmclock-stable-bit
npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid
decodeassists pause_filter pfthreshold
xsaveopt xsavec xgetbv1 xsaves
arat
Br Aki
HOST CPU Arch
address@hidden ~]#
address@hidden ~]# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 24
On-line CPU(s) list: 0-23
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Model name: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
Stepping: 7
CPU MHz: 1200.000
BogoMIPS: 3995.05
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 15360K
NUMA node0 CPU(s): 0-5,12-17
NUMA node1 CPU(s): 6-11,18-23
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
[Prev in Thread] | Current Thread | [Next in Thread] |