diff options
author | Juan Quintela <quintela@redhat.com> | 2019-12-13 13:47:14 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2020-02-28 09:25:49 +0100 |
commit | 87dc6f5f665f581923536a1346220c7dcebe5105 (patch) | |
tree | be2941cb3097d078f3ae46e07dd9501c27900ba6 /migration/multifd.h | |
parent | 6a9ad1542065ca0bd54c6fe756c5eac3e093dfb5 (diff) | |
download | qemu-87dc6f5f665f581923536a1346220c7dcebe5105.zip qemu-87dc6f5f665f581923536a1346220c7dcebe5105.tar.gz qemu-87dc6f5f665f581923536a1346220c7dcebe5105.tar.bz2 |
multifd: Add zstd compression multifd support
Signed-off-by: Juan Quintela <quintela@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/multifd.h')
-rw-r--r-- | migration/multifd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/multifd.h b/migration/multifd.h index c6dad7b..448a03d 100644 --- a/migration/multifd.h +++ b/migration/multifd.h @@ -31,6 +31,7 @@ int multifd_queue_page(QEMUFile *f, RAMBlock *block, ram_addr_t offset); /* we need to be compatible. Before compression value was 0 */ #define MULTIFD_FLAG_NOCOMP (0 << 1) #define MULTIFD_FLAG_ZLIB (1 << 1) +#define MULTIFD_FLAG_ZSTD (2 << 1) /* This value needs to be a multiple of qemu_target_page_size() */ #define MULTIFD_PACKET_SIZE (512 * 1024) |