Skip to content

Commit

Permalink
tests/qtest/test-hmp: Fix migrate_set_parameter xbzrle-cache-size test
Browse files Browse the repository at this point in the history
The command always fails with "Error: Parameter 'xbzrle_cache_size'
expects a power of two no less than the target page size".  The test
passes anyway.  Change the argument from 1 to 64k to make the test a
bit more useful.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
Markus Armbruster authored and Michael Tokarev committed Sep 8, 2023
1 parent b21a6e3 commit 4d841da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/qtest/test-hmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static const char *hmp_cmds[] = {
"log all",
"log none",
"memsave 0 4096 \"/dev/null\"",
"migrate_set_parameter xbzrle-cache-size 1",
"migrate_set_parameter xbzrle-cache-size 64k",
"migrate_set_parameter downtime-limit 1",
"migrate_set_parameter max-bandwidth 1",
"netdev_add user,id=net1",
Expand Down

0 comments on commit 4d841da

Please sign in to comment.