]> Git Repo - qemu.git/commitdiff
tests/migration/postcopy: trim migration bandwidth
authorDr. David Alan Gilbert <[email protected]>
Mon, 23 Sep 2019 13:10:22 +0000 (14:10 +0100)
committerDr. David Alan Gilbert <[email protected]>
Wed, 25 Sep 2019 14:51:19 +0000 (15:51 +0100)
On slow hosts with tcg we were sometimes finding that the migration
would complete during precopy and never get into the postcopy test.
Trim back the bandwidth a bit to make that much less likely.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Message-Id: <20190923131022[email protected]>
Reviewed-by: Cleber Rosa <[email protected]>
Acked-by: Alex Bennée <[email protected]>
Tested-by: Cleber Rosa <[email protected]>
Tested-by: Alex Bennée <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
tests/migration-test.c

index 9c62ee5331b46ed1dd180a007bf8dac696f2b8b7..221a33d0834b04c231e1d36c2359e0e76a401681 100644 (file)
@@ -753,7 +753,7 @@ static int migrate_postcopy_prepare(QTestState **from_ptr,
      * quickly, but that it doesn't complete precopy even on a slow
      * machine, so also set the downtime.
      */
-    migrate_set_parameter_int(from, "max-bandwidth", 100000000);
+    migrate_set_parameter_int(from, "max-bandwidth", 30000000);
     migrate_set_parameter_int(from, "downtime-limit", 1);
 
     /* Wait for the first serial output from the source */
This page took 0.027246 seconds and 4 git commands to generate.