cancel
Showing results for 
Search instead for 
Did you mean: 

Server Processors

DanielJ_Valve
Journeyman III

AMD uProf on Windows Guest of Linux KVM Hypervisor

Hi, uProf is listed as supporting Windows guest VMs on Linux KVM Hypervisors, but I am unable to profile my desired application after installing AMDuProf inside the guest and attempting to start an application trace:

Failed to load driver.
If you have recently upgraded or installed AMD uProf, please reboot and try again.
An unsupported hypervisor has been detected.
CPU Profiling driver does not support running on this hypervisor guest operating system.
CPU Profiling is unavailable.

The pertinent section of my libvirt guest definition, in case uProf is looking for a specific vendor ID string or CPU feature bits:

  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vpindex state='on'/>
      <synic state='on'/>
      <stimer state='on'>
        <direct state='on'/>
      </stimer>
      <vendor_id state='on' value='KVM Hv'/>
    </hyperv>
    <kvm>
      <hidden state='on'/>
      <hint-dedicated state='on'/>
    </kvm>
    <pmu state='off'/>
    <vmport state='off'/>
    <ioapic driver='kvm'/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='off'>
    <topology sockets='1' dies='1' cores='31' threads='2'/>
    <cache level='3' mode='emulate'/>
    <feature policy='disable' name='svm'/>
    <feature policy='require' name='apic'/>
    <feature policy='require' name='invtsc'/>
    <feature policy='require' name='hypervisor'/>
    <feature policy='require' name='topoext'/>
  </cpu>

 

Thanks

0 Likes
1 Solution
swarup
Staff

Hi @DanielJ_Valve ,

Looks like Hyper-V Enlightenments are enabled in KVM. Right now uProf v3.4 does not support Enlightenments. Please try uProf (on Windows guest) after disabling Enlightenments in KVM.

We will take it as a suggestion and we will plan to add support for Enlightenments in future uProf releases. 

View solution in original post

0 Likes
1 Reply
swarup
Staff

Hi @DanielJ_Valve ,

Looks like Hyper-V Enlightenments are enabled in KVM. Right now uProf v3.4 does not support Enlightenments. Please try uProf (on Windows guest) after disabling Enlightenments in KVM.

We will take it as a suggestion and we will plan to add support for Enlightenments in future uProf releases. 

0 Likes