aboutsummaryrefslogtreecommitdiff
path: root/migration/migration-stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'migration/migration-stats.h')
-rw-r--r--migration/migration-stats.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/migration/migration-stats.h b/migration/migration-stats.h
index cf8a4f0410..e7f1269769 100644
--- a/migration/migration-stats.h
+++ b/migration/migration-stats.h
@@ -16,6 +16,12 @@
#include "qemu/stats64.h"
/*
+ * If rate_limit_max is 0, there is special code to remove the rate
+ * limit.
+ */
+#define RATE_LIMIT_DISABLED 0
+
+/*
* These are the ram migration statistic counters. It is loosely
* based on MigrationStats. We change to Stat64 any counter that
* needs to be updated using atomic ops (can be accessed by more than