aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-08-25 17:59:23 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-08 13:08:52 +0300
commit4d841daeb2098718244044a695965cc3254265c7 (patch)
tree79a40fcee3518a3e38e9200beeb237d31136f629 /tests
parentb21a6e31a182a5ae7436a444f840d49aac07c94f (diff)
downloadqemu-4d841daeb2098718244044a695965cc3254265c7.zip
qemu-4d841daeb2098718244044a695965cc3254265c7.tar.gz
qemu-4d841daeb2098718244044a695965cc3254265c7.tar.bz2
tests/qtest/test-hmp: Fix migrate_set_parameter xbzrle-cache-size test
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/qtest/test-hmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/test-hmp.c b/tests/qtest/test-hmp.c
index c0d2d70..fc9125f 100644
--- a/tests/qtest/test-hmp.c
+++ b/tests/qtest/test-hmp.c
@@ -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",