mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-11-03 19:15:58 +00:00 
			
		
		
		
	- Add kata-runtime - Add unit test - Add Makefile to build cli Fixes: #33 Signed-off-by: Julio Montes <julio.montes@intel.com> Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com> Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
		
			
				
	
	
		
			59 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
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:
 | 
						|
 | 
						|
`
 |