mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
6a9ad15420
commit
87dc6f5f66
7 changed files with 355 additions and 3 deletions
|
@ -1328,6 +1328,13 @@ static void test_multifd_tcp_zlib(void)
|
|||
test_multifd_tcp("zlib");
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ZSTD
|
||||
static void test_multifd_tcp_zstd(void)
|
||||
{
|
||||
test_multifd_tcp("zstd");
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This test does:
|
||||
* source target
|
||||
|
@ -1492,6 +1499,9 @@ int main(int argc, char **argv)
|
|||
qtest_add_func("/migration/multifd/tcp/none", test_multifd_tcp_none);
|
||||
qtest_add_func("/migration/multifd/tcp/cancel", test_multifd_tcp_cancel);
|
||||
qtest_add_func("/migration/multifd/tcp/zlib", test_multifd_tcp_zlib);
|
||||
#ifdef CONFIG_ZSTD
|
||||
qtest_add_func("/migration/multifd/tcp/zstd", test_multifd_tcp_zstd);
|
||||
#endif
|
||||
|
||||
ret = g_test_run();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue