mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
migration: Create populate_compress()
So we don't have to access compression_counters from outside ram-compress.c. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Lukas Straub <lukasstraub2@web.de> Message-ID: <20230613145757.10131-7-quintela@redhat.com>
This commit is contained in:
parent
809f188a1a
commit
6f60900573
3 changed files with 17 additions and 10 deletions
|
@ -30,6 +30,7 @@
|
|||
#define QEMU_MIGRATION_COMPRESS_H
|
||||
|
||||
#include "qemu-file.h"
|
||||
#include "qapi/qapi-types-migration.h"
|
||||
|
||||
enum CompressResult {
|
||||
RES_NONE = 0,
|
||||
|
@ -67,4 +68,6 @@ void compress_threads_load_cleanup(void);
|
|||
int compress_threads_load_setup(QEMUFile *f);
|
||||
void decompress_data_with_multi_threads(QEMUFile *f, void *host, int len);
|
||||
|
||||
void populate_compress(MigrationInfo *info);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue