openstack创建windows server 2003系统4 VCPU的实例,为什么安装的硬件检测软件看见cpu是单核,单线程的呢?

解决方案 »

  1.   

    你看看虚拟机目录下的libvirt.xml里面的内容是几个cpu
      

  2.   

    参考一下这个。修改/etc/livirt/qemu/instance-*.xml
    virsh capabilities | grep topologyit will list the topology of the host:<topology sockets='1' cores='4' threads='1'/>The numbers refer to sockets, cores per socket, and threads per core. Add this line to the cpu entry in the xml file to allow windows to use all 4 cores, e.g.: <vcpu>4</vcpu>
     <cpu>
         <topology sockets='1' cores='4' threads='1'/>
     </cpu>