mirror of
				https://git.proxmox.com/git/qemu
				synced 2025-10-31 21:46:35 +00:00 
			
		
		
		
	 60d5666f7d
			
		
	
	
		60d5666f7d
		
	
	
	
	
		
			
			This is like qemu_find_opts(), except that it takes an Error argument. This new function allows for a incremental conversion of code using qemu_find_opts(). Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-By: Laszlo Ersek <lersek@redhat.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			721 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			721 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef QEMU_CONFIG_H
 | |
| #define QEMU_CONFIG_H
 | |
| 
 | |
| #include "error.h"
 | |
| 
 | |
| extern QemuOptsList qemu_fsdev_opts;
 | |
| extern QemuOptsList qemu_virtfs_opts;
 | |
| extern QemuOptsList qemu_spice_opts;
 | |
| 
 | |
| QemuOptsList *qemu_find_opts(const char *group);
 | |
| QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
 | |
| void qemu_add_opts(QemuOptsList *list);
 | |
| int qemu_set_option(const char *str);
 | |
| int qemu_global_option(const char *str);
 | |
| void qemu_add_globals(void);
 | |
| 
 | |
| void qemu_config_write(FILE *fp);
 | |
| int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
 | |
| 
 | |
| int qemu_read_config_file(const char *filename);
 | |
| 
 | |
| /* Read default Qemu config files
 | |
|  */
 | |
| int qemu_read_default_config_files(bool userconfig);
 | |
| 
 | |
| #endif /* QEMU_CONFIG_H */
 |