LIBVIRT报告qemu-system-x86_64: CPU feature cmt not found的解决办法

今天在ThinkServer RD350上用libvirt创建虚拟机,发生如下现象

error: internal error: qemu unexpectedly closed the monitor: 2016-08-12T05:44:04.825824Z qemu-system-x86_64: CPU feature cmt not found

原因是libvirt或QEMU没有支持CPU的CMT特性


修正方式如下

<domain type='kvm'>
  <name>centos_kvm_vm</name>
  <uuid>4dea22b31d52d8f32516782e98000000</uuid>
  <memory unit='KiB'>4097152</memory>
  <currentMemory unit='KiB'>4097152</currentMemory>
  <vcpu placement='static'>2</vcpu>
<!--
  <cpu mode='host-model'/>
-->
  <cpu mode='host-passthrough'/>
  <os>




参考

https://bbs.archlinux.org/viewtopic.php?id=214539

http://forums.debian.net/viewtopic.php?f=5&t=128949

http://www.itbyte.net/2011/1013/635084_2.html




版权声明:本文为leoufung原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。