「KVM」-CPUモデルとトポロジー(未完)@ 20210222

基本的な紹介

次の要素を使用して、CPUの「モデル」、「機能」、および「トポロジ」を指定できます。

<cpu match = 'exact'> 
  <model fallback = 'allow'> core2duo </ model> 
  <vendor> Intel </ vendor> 
  <topology sockets = '1' cores = '2' threads = '1' /> 
  <cache level = '3' mode 
  = 'emulate' /> 
< feature policy = 'disable' name = 'lahf_lm' /> </ cpu>
<cpu mode = 'host-model'> 
  <model fallback = 'forbid' /> 
  <topology sockets = '1' cores = '2' thread = '1' /> 
</ cpu>
<cpu mode = 'host-passthrough'> 
  <cache mode = 'passthrough' /> 
  <feature policy = 'disable' name = 'lahf_lm' /> 
.. ..

CPUの「モデル」とその「機能」を制限する必要がない場合は、cpu要素を使用するだけです。

<cpu> 
  <トポロジソケット= '1'コア= '2'スレッド= '1' /> 
</ cpu>

構成構造

完全な構造は次のとおりです。

<cpu match = "minimum / excat / strict" check = "none / partial / full" mode = "custom / host-model / host-passthrough"> 
	<model /> 
	<vendor /> 
	<topology sockets = '1'コア= '2'スレッド= '1' /> 
	<feature /> 
	<cache /> 
	<numa> 
		<cell id = "" cpus = "" memory = "" unit = "" memAccess = "" destroy = ""> 
		<距離> 
        	<兄弟ID = ''値= '' /> 
      	</距離> 
		</セル> 
	</ numa> 
</ cpu>

参照

KVMCPU構成モードの分類

おすすめ

転載: blog.csdn.net/u013670453/article/details/113937166