]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/test-throttle.c
migration/postcopy: enable random order target page arrival
[mirror_qemu.git] / tests / test-throttle.c
index 083e1f9ba865ad1de94644ac7735873ce7df8ac0..7adb5e6652c94bda8238e520f72fb82c0a8afc24 100644 (file)
@@ -558,6 +558,8 @@ static bool do_test_accounting(bool is_ops, /* are we testing bps or ops */
     BucketType index;
     int i;
 
+    throttle_config_init(&cfg);
+
     for (i = 0; i < 3; i++) {
         BucketType index = to_test[is_ops][i];
         cfg.buckets[index].avg = avg;