diff options
author | Chuan Zheng <zhengchuan@huawei.com> | 2020-09-16 14:22:00 +0800 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-09-25 12:45:57 +0100 |
commit | 3ded54b1bd00177bf56d332636ecaf0da9d8b77e (patch) | |
tree | 625ac3b7e1fc9158a8d7846d51505efa4e20dcf8 /migration/dirtyrate.c | |
parent | c9a58d719ba7b059d53d1b84ff3458be68cce5c8 (diff) |
migration/dirtyrate: move RAMBLOCK_FOREACH_MIGRATABLE into ram.h
RAMBLOCK_FOREACH_MIGRATABLE is need in dirtyrate measure,
move the existing definition up into migration/ram.h
Signed-off-by: Chuan Zheng <zhengchuan@huawei.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <1600237327-33618-6-git-send-email-zhengchuan@huawei.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/dirtyrate.c')
-rw-r--r-- | migration/dirtyrate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/dirtyrate.c b/migration/dirtyrate.c index 94c4e173bc..10315f7a63 100644 --- a/migration/dirtyrate.c +++ b/migration/dirtyrate.c @@ -20,6 +20,7 @@ #include "qemu/rcu_queue.h" #include "qapi/qapi-commands-migration.h" #include "migration.h" +#include "ram.h" #include "dirtyrate.h" static int CalculatingState = DIRTY_RATE_STATUS_UNSTARTED; |