qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Solaris vm does not recognize all cpus


From: Rom Freiman
Subject: [Qemu-devel] Solaris vm does not recognize all cpus
Date: Wed, 24 Jan 2018 19:57:26 +0000

Hey,

I'm running solaris 11.2 vm above kvm/qemu (centos 7.3. x86_64).
Unfortunately, inside the vm it does not recognize the correct cpu topology:

Seems that only one core per socket is recognized as device_type=cpu, while
the rest are recognized as device_type="acpicpu" (prtconf -v) and are not
counted as part of the cores (psrinfo -t).
Not sure how to enforce all cores to be recognized.

The cpu which is recognized appears as
name='device_type' type=string items=1
value='cpu'
And those that are not:
name='device_type' type=string items=1
value='acpicpu'

Libvirt xml is:
  <features>
    <acpi/>
    <apic/>
  </features>
  <cputune>
    <shares>16384</shares>
  </cputune>
  <clock offset="utc">
    <timer name="pit" tickpolicy="delay"/>
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="kvmclock" present="no"/>
    <timer name="hpet" present="no"/>
  </clock>
  <cpu mode="custom" match="exact">
    <model>Haswell-noTSX</model>
    <feature name="x2apic" policy="disable"/>
    <topology sockets='8' cores='4' threads='1'/>
  </cpu>


But tried other options as well (host model instead of Hasswell).

Any help will be appreciated.

Thanks,
Rom


reply via email to

[Prev in Thread] Current Thread [Next in Thread]