|
|
error: Failed to start domain centos7.9$ H8 K, k/ f) g: Y$ q! v
error: the CPU is incompatible with host CPU: Host CPU does not provide required features: fma, movbe, bmi1, avx2, bmi2, invpcid5 V, r- z9 d; \1 y& j5 ?8 q/ k
3 @" z# p- s7 L4 Y9 w处理过程:$ o7 ]- g& |2 R% q) ]/ B( l
(nova-libvirt)[root@compute01 images]# virsh edit centos7.9- k7 a# n' b0 H* E' V' u- T3 s x
Domain centos7.9 XML configuration not changed.
& j% ]+ T# B& Z(nova-libvirt)[root@compute01 images]# virsh undefine centos7.9) \ x7 k6 \( M8 E" x; x, s
Domain centos7.9 has been undefined, k3 R+ I5 A# ~# ~, a. r) C# W
(nova-libvirt)[root@compute01 images]# virsh list --all2 B. h: H/ X5 Q1 s
Id Name State( [5 N! m& P w8 i. u6 \# F
----------------------------------------------------) `9 c* x% N. z$ i% u- y
3 instance-00000059 running
; F1 E( w% u0 q/ i5 e8 O8 k(nova-libvirt)[root@compute01 images]# ls% D% L, q4 f" \- m' i; d
CentOS-7.9_x86_64.raw centos7.9.xml
; v3 ^! `8 e+ H8 H6 G' B. a! D Z( U/ M
(nova-libvirt)[root@compute01 images]# vi centos7.9.xml 1 n" }) t p% L& r- {, D' V) }
删除cpu的地方3 T; Z$ l% F$ j! u# W
<cpu mode='custom' match='exact'>
- G; x; N. j; M! G A q
' w3 ~: G" ~7 Z <model fallback='allow'>Haswell-noTSX</model>
2 o& ?4 G' s/ x! R, M
# n# W0 l" |- V+ `
% s. D1 l8 h: t+ g/ U# ]5 w6 _修改为如下配置:
( J5 X- w' W+ i: B# `" t <cpu mode='host-model'>* b; U& s7 s* Z l
<model fallback='allow'/>
6 z$ O) P6 x2 }; m. H/ K! {1 f) M L$ {9 s: ~
重新执行define命令:: O/ C8 w' z# i, F
3 b: w% R, t9 E, H( K* Q; P |
|