Fix virt-what-cpuid-helper.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 4 Oct 2019 12:57:42 +0000 (15:57 +0300)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 4 Oct 2019 13:16:50 +0000 (16:16 +0300)
The value returned in %eax is the max_entry (eg. 0x40000000
if there are no further leafs).  However it is not reliable.
In addition if there are multiple leafs we should probably
only print the highest one.

Also use uint32_t instead of unsigned int.

Thanks: Paolo Bonzini.


No differences found