migration: split migration_incoming_co
[qemu/armbru.git] / migration / xbzrle.h
blob6feb49160adfff0fd1cdf52e16bf0d6952117954
1 /*
2 * QEMU live migration
4 * Copyright IBM, Corp. 2008
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
14 #ifndef QEMU_MIGRATION_XBZRLE_H
15 #define QEMU_MIGRATION_XBZRLE_H
17 int xbzrle_encode_buffer(uint8_t *old_buf, uint8_t *new_buf, int slen,
18 uint8_t *dst, int dlen);
20 int xbzrle_decode_buffer(uint8_t *src, int slen, uint8_t *dst, int dlen);
21 #if defined(CONFIG_AVX512BW_OPT)
22 int xbzrle_encode_buffer_avx512(uint8_t *old_buf, uint8_t *new_buf, int slen,
23 uint8_t *dst, int dlen);
24 #endif
25 #endif