Add host-model to CPU config in VMs
This commit is contained in:
parent
45c9909428
commit
71297e0179
|
@ -33,7 +33,7 @@ libvirt_header = """<domain type='kvm'>
|
||||||
<description>{vm_description}</description>
|
<description>{vm_description}</description>
|
||||||
<memory unit='MiB'>{vm_memory}</memory>
|
<memory unit='MiB'>{vm_memory}</memory>
|
||||||
<vcpu>{vm_vcpus}</vcpu>
|
<vcpu>{vm_vcpus}</vcpu>
|
||||||
<cpu>
|
<cpu mode='host-model'>
|
||||||
<topology sockets='1' cores='{vm_vcpus}' threads='1'/>
|
<topology sockets='1' cores='{vm_vcpus}' threads='1'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
<os>
|
<os>
|
||||||
|
|
Loading…
Reference in New Issue