Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migration: Create migration/xbzrle.h
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
- Loading branch information
Juan Quintela
committed
May 18, 2017
1 parent
ed1701c
commit 709e3fe
Showing
5 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters