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