mirror of
https://github.com/reactos/syzkaller.git
synced 2024-10-07 00:53:27 +00:00
pkg/host: use 'machine' field as cpu model on IBM/Z
Use the field 'machine' in /proc/cpuinfo on IBM/Z to find out the "CPU model". Signed-off-by: Alexander Egorenkov <Alexander.Egorenkov@ibm.com>
This commit is contained in:
parent
6989d6f61d
commit
3b5eb29afb
@ -48,7 +48,7 @@ func checkCPUInfo(t *testing.T, scanner *bufio.Scanner) {
|
||||
|
||||
importantKeys := [][]string{
|
||||
{"vendor", "vendor_id", "CPU implementer"},
|
||||
{"model", "CPU part", "cpu model"},
|
||||
{"model", "CPU part", "cpu model", "machine"},
|
||||
{"flags", "features", "Features", "ASEs implemented", "type"},
|
||||
}
|
||||
for _, possibleNames := range importantKeys {
|
||||
|
Loading…
Reference in New Issue
Block a user