Simplify and fix invocation of cpuid.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 13 Apr 2021 08:35:07 +0000 (09:35 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 13 Apr 2021 08:47:54 +0000 (09:47 +0100)
commit60d903fbb7653bc9754228bdab4c6933fcda1e72
treeb0ae3d4d0b1dfaa2a47b8fad7a7058b19b7dc7c2
parent1df728aa4b1d2814265f9c86494f7d55ee0cf9af
Simplify and fix invocation of cpuid.

Fixes a crash on some platforms identified by Yongkui Guo in
https://bugzilla.redhat.com/show_bug.cgi?id=1756381#c15
virt-what-cpuid-helper.c