OSDN Git Service

ram_find_and_save_block: Split out the finding
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 23 Sep 2015 14:27:11 +0000 (15:27 +0100)
committerAmit Shah <amit.shah@redhat.com>
Tue, 29 Sep 2015 06:08:29 +0000 (11:38 +0530)
commitb9e6092814735853cc1149e2e68245b09f621306
treec71370681dc290b08d7d188f8bbe519739b85c91
parentb8fb8cb748497aa070304eec27b03edd3b05373d
ram_find_and_save_block: Split out the finding

Split out the finding of the dirty page and all the wrap detection
into a separate function since it was getting a bit hairy.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1443018431-11170-3-git-send-email-dgilbert@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
[Fix comment -- Amit]
Signed-off-by: Amit Shah <amit.shah@redhat.com>
migration/ram.c