mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 20:44:16 +00:00 
			
		
		
		
	 0ec7b3e7f2
			
		
	
	
		0ec7b3e7f2
		
	
	
	
	
		
			
			Pick a uniform chardev type name. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			17 lines
		
	
	
		
			329 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			329 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include "qemu/osdep.h"
 | |
| #include "qapi/error.h"
 | |
| #include "qemu-common.h"
 | |
| #include "monitor/monitor.h"
 | |
| 
 | |
| Monitor *cur_mon = NULL;
 | |
| 
 | |
| int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
 | |
| {
 | |
|     error_setg(errp, "only QEMU supports file descriptor passing");
 | |
|     return -1;
 | |
| }
 | |
| 
 | |
| void monitor_init(Chardev *chr, int flags)
 | |
| {
 | |
| }
 |