diff options
| author | Lukas Straub <lukasstraub2@web.de> | 2023-04-20 11:48:28 +0200 |
|---|---|---|
| committer | Juan Quintela <quintela@redhat.com> | 2023-05-08 15:25:26 +0200 |
| commit | b1f17720c117d4811b5571d87dcbc5b99d79266b (patch) | |
| tree | d752d790e00d370f31f104bec13b041ed43b8bf0 /migration/ram-compress.h | |
| parent | b5ca3368d9e7484f6a22d4d770b07a78f4c364d3 (diff) | |
| download | focaccia-qemu-b1f17720c117d4811b5571d87dcbc5b99d79266b.tar.gz focaccia-qemu-b1f17720c117d4811b5571d87dcbc5b99d79266b.zip | |
ram.c: Move core decompression code into its own file
No functional changes intended. Signed-off-by: Lukas Straub <lukasstraub2@web.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/ram-compress.h')
| -rw-r--r-- | migration/ram-compress.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/migration/ram-compress.h b/migration/ram-compress.h index 06570a799c..6f7fe2f472 100644 --- a/migration/ram-compress.h +++ b/migration/ram-compress.h @@ -62,4 +62,9 @@ void flush_compressed_data(int (send_queued_data(CompressParam *))); int compress_page_with_multi_thread(RAMBlock *block, ram_addr_t offset, int (send_queued_data(CompressParam *))); +int wait_for_decompress_done(void); +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); + #endif |