mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	 2b8985f1b8
			
		
	
	
		2b8985f1b8
		
	
	
	
	
		
			
			Both the qtest client, libqtest.c, and server, qtest.c, used the same name for initialization functions which can cause confusion. Signed-off-by: Alexander Oleinik <alxndr@bu.edu> Message-Id: <20190805031240.6024-1-alxndr@bu.edu> Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
		
			
				
	
	
		
			30 lines
		
	
	
		
			502 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			502 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Test Server
 | |
|  *
 | |
|  * Copyright IBM, Corp. 2011
 | |
|  *
 | |
|  * Authors:
 | |
|  *  Anthony Liguori   <aliguori@us.ibm.com>
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2 or later.
 | |
|  * See the COPYING file in the top-level directory.
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef QTEST_H
 | |
| #define QTEST_H
 | |
| 
 | |
| 
 | |
| extern bool qtest_allowed;
 | |
| 
 | |
| static inline bool qtest_enabled(void)
 | |
| {
 | |
|     return qtest_allowed;
 | |
| }
 | |
| 
 | |
| bool qtest_driver(void);
 | |
| 
 | |
| void qtest_server_init(const char *qtest_chrdev, const char *qtest_log, Error **errp);
 | |
| 
 | |
| #endif
 |