Simplify and fix invocation of cpuid. rhel-8.6
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>
Mon, 6 Sep 2021 17:01:15 +0000 (18:01 +0100)
commit88eb2b7fbd7e6af1cd1860c3f2023ee7b9125d37
tree4a9026341d53af95b8ca839a48b5b411c26e56ba
parent6831ccb71a7b19c6e5cb970026cbffff39928e2b
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

(cherry picked from commit 60d903fbb7653bc9754228bdab4c6933fcda1e72)
virt-what-cpuid-helper.c