 cbab4face5
			
		
	
	
		cbab4face5
		
	
	
	
	
		
			
			Exec transport backend for 'migrate'/'migrate-incoming' QAPIs accept new wire protocol of MigrateAddress struct. It is achived by parsing 'uri' string and storing migration parameters required for exec connection into strList struct. Suggested-by: Aravind Retnakaran <aravind.retnakaran@nutanix.com> Signed-off-by: Het Gala <het.gala@nutanix.com> Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231023182053.8711-8-farosas@suse.de>
		
			
				
	
	
		
			31 lines
		
	
	
		
			869 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			869 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * QEMU live migration
 | |
|  *
 | |
|  * Copyright IBM, Corp. 2008
 | |
|  * Copyright Dell MessageOne 2008
 | |
|  * Copyright Red Hat, Inc. 2015-2016
 | |
|  *
 | |
|  * Authors:
 | |
|  *  Anthony Liguori   <aliguori@us.ibm.com>
 | |
|  *  Charles Duffy     <charles_duffy@messageone.com>
 | |
|  *  Daniel P. Berrange <berrange@redhat.com>
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2.  See
 | |
|  * the COPYING file in the top-level directory.
 | |
|  *
 | |
|  * Contributions after 2012-01-13 are licensed under the terms of the
 | |
|  * GNU GPL, version 2 or (at your option) any later version.
 | |
|  */
 | |
| 
 | |
| #ifndef QEMU_MIGRATION_EXEC_H
 | |
| #define QEMU_MIGRATION_EXEC_H
 | |
| 
 | |
| #ifdef WIN32
 | |
| const char *exec_get_cmd_path(void);
 | |
| #endif
 | |
| void exec_start_incoming_migration(strList *host_port, Error **errp);
 | |
| 
 | |
| void exec_start_outgoing_migration(MigrationState *s, strList *host_port,
 | |
|                                    Error **errp);
 | |
| #endif
 |