Mirror "sysemu/kvm.h" #ifdef'ry to define CONFIG_HAX_IS_POSSIBLE, expose hax_allowed to hax_enabled() macro. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220207075426.81934-9-f4bug@amsat.org>
		
			
				
	
	
		
			25 lines
		
	
	
		
			485 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			485 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * QEMU HAXM support
 | 
						|
 *
 | 
						|
 * Copyright (c) 2015, Intel Corporation
 | 
						|
 *
 | 
						|
 * Copyright 2016 Google, Inc.
 | 
						|
 *
 | 
						|
 * This software is licensed under the terms of the GNU General Public
 | 
						|
 * License version 2, as published by the Free Software Foundation, and
 | 
						|
 * may be copied, distributed, and modified under those terms.
 | 
						|
 *
 | 
						|
 * See the COPYING file in the top-level directory.
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
#include "qemu/osdep.h"
 | 
						|
#include "sysemu/hax.h"
 | 
						|
 | 
						|
bool hax_allowed;
 | 
						|
 | 
						|
int hax_sync_vcpus(void)
 | 
						|
{
 | 
						|
    return 0;
 | 
						|
}
 |