mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	Add basic support to run QEMU via kunit_tool. Add support for i386, x86_64, arm, arm64, and a bunch more. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Tested-by: David Gow <davidgow@google.com> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			449 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			449 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0
 | 
						|
#
 | 
						|
# Collection of configs for building non-UML kernels and running them on QEMU.
 | 
						|
#
 | 
						|
# Copyright (C) 2021, Google LLC.
 | 
						|
# Author: Brendan Higgins <brendanhiggins@google.com>
 | 
						|
 | 
						|
from collections import namedtuple
 | 
						|
 | 
						|
 | 
						|
QemuArchParams = namedtuple('QemuArchParams', ['linux_arch',
 | 
						|
					       'kconfig',
 | 
						|
					       'qemu_arch',
 | 
						|
					       'kernel_path',
 | 
						|
					       'kernel_command_line',
 | 
						|
					       'extra_qemu_params'])
 |