mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 12:07:31 +00:00 
			
		
		
		
	 709e3fe825
			
		
	
	
		709e3fe825
		
	
	
	
	
		
			
			Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			517 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			517 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * QEMU live migration
 | |
|  *
 | |
|  * Copyright IBM, Corp. 2008
 | |
|  *
 | |
|  * Authors:
 | |
|  *  Anthony Liguori   <aliguori@us.ibm.com>
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2.  See
 | |
|  * the COPYING file in the top-level directory.
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef QEMU_MIGRATION_XBZRLE_H
 | |
| #define QEMU_MIGRATION_XBZRLE_H
 | |
| 
 | |
| int xbzrle_encode_buffer(uint8_t *old_buf, uint8_t *new_buf, int slen,
 | |
|                          uint8_t *dst, int dlen);
 | |
| 
 | |
| int xbzrle_decode_buffer(uint8_t *src, int slen, uint8_t *dst, int dlen);
 | |
| #endif
 |