 8858934370
			
		
	
	
		8858934370
		
	
	
	
	
		
			
			This patch reworks the -monitor handling: - It adds a new "mon" QemuOpts list for the monitor(s). - It adds a monitor_parse() function to parse the -monitor switch. - It adds a mon_init function to initialize the monitor(s) from the "mon" QemuOpts list. - It winds up everything and removes the old bits. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			507 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			507 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef QEMU_CONFIG_H
 | |
| #define QEMU_CONFIG_H
 | |
| 
 | |
| extern QemuOptsList qemu_drive_opts;
 | |
| extern QemuOptsList qemu_chardev_opts;
 | |
| extern QemuOptsList qemu_device_opts;
 | |
| extern QemuOptsList qemu_netdev_opts;
 | |
| extern QemuOptsList qemu_net_opts;
 | |
| extern QemuOptsList qemu_rtc_opts;
 | |
| extern QemuOptsList qemu_mon_opts;
 | |
| 
 | |
| 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);
 | |
| 
 | |
| #endif /* QEMU_CONFIG_H */
 |