mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 14:54:19 +01:00
runtime: move all code to src/runtime
To prepare for merging into kata-containers repository. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
58
src/runtime/cli/kata-check_data_amd64_test.go
Normal file
58
src/runtime/cli/kata-check_data_amd64_test.go
Normal file
@@ -0,0 +1,58 @@
|
||||
package main
|
||||
|
||||
const testCPUInfoTemplate = `
|
||||
processor : 0
|
||||
vendor_id : {{.VendorID}}
|
||||
cpu family : 6
|
||||
model : 61
|
||||
model name : Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
|
||||
stepping : 4
|
||||
microcode : 0x25
|
||||
cpu MHz : 1999.987
|
||||
cache size : 4096 KB
|
||||
physical id : 0
|
||||
siblings : 4
|
||||
core id : 0
|
||||
cpu cores : 2
|
||||
apicid : 0
|
||||
initial apicid : 0
|
||||
fpu : yes
|
||||
fpu_exception : yes
|
||||
cpuid level : 20
|
||||
wp : yes
|
||||
flags : {{.Flags}}
|
||||
bugs :
|
||||
bogomips : 5188.36
|
||||
clflush size : 64
|
||||
cache_alignment : 64
|
||||
address sizes : 39 bits physical, 48 bits virtual
|
||||
power management:
|
||||
|
||||
processor : 1
|
||||
vendor_id : {{.VendorID}}
|
||||
cpu family : 6
|
||||
model : 61
|
||||
model name : Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
|
||||
stepping : 4
|
||||
microcode : 0x25
|
||||
cpu MHz : 1999.987
|
||||
cache size : 4096 KB
|
||||
physical id : 0
|
||||
siblings : 4
|
||||
core id : 0
|
||||
cpu cores : 2
|
||||
apicid : 1
|
||||
initial apicid : 1
|
||||
fpu : yes
|
||||
fpu_exception : yes
|
||||
cpuid level : 20
|
||||
wp : yes
|
||||
flags : {{.Flags}}
|
||||
bugs :
|
||||
bogomips : 5194.90
|
||||
clflush size : 64
|
||||
cache_alignment : 64
|
||||
address sizes : 39 bits physical, 48 bits virtual
|
||||
power management:
|
||||
|
||||
`
|
||||
Reference in New Issue
Block a user