pa_running_in_vm is broken by incorrect __get_cpuid
Summary
commit c8bd93c5a764940abd280901a2b56af18ece24b0
broke pa_running_in_vm()
function, so it never checks hypervisor vendor and returns false.
__get_cpuid()
function checks max leaf number for 0x0 leaf, but should for 0x40000000.
environment
Ubuntu 18.10 and newer.
PulseAudio v12.2
Steps to reproduce
Install Ubuntu 18.10 under VM. Check pa debug logs - Running in VM: no
What is the expected correct behavior?
pa_running_in_vm()
reports true under VM.