migration/dirtyrate: move RAMBLOCK_FOREACH_MIGRATABLE into ram.h
commit3ded54b1bd00177bf56d332636ecaf0da9d8b77e
authorChuan Zheng <zhengchuan@huawei.com>
Wed, 16 Sep 2020 06:22:00 +0000 (16 14:22 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 25 Sep 2020 11:45:57 +0000 (25 12:45 +0100)
tree625ac3b7e1fc9158a8d7846d51505efa4e20dcf8
parentc9a58d719ba7b059d53d1b84ff3458be68cce5c8
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>
migration/dirtyrate.c
migration/ram.c
migration/ram.h