git.annexia.org
/
virt-what.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
0a0d9fa
)
Fix virt-what-cpuid-helper.
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 4 Oct 2019 12:57:42 +0000
(15:57 +0300)
committer
Richard 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