diff options
| author | Peter Xu | 2018-07-10 11:18:53 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2018-07-10 13:55:59 +0200 |
| commit | 1aa8367861645c3c0917f585fe14b1b6b23b0f66 (patch) | |
| tree | 7af224aa8ea2cdc86164e293b84368f516bcf909 /scripts/switch-timer-api | |
| parent | migration: unify incoming processing (diff) | |
| download | qemu-1aa8367861645c3c0917f585fe14b1b6b23b0f66.tar.gz qemu-1aa8367861645c3c0917f585fe14b1b6b23b0f66.tar.xz qemu-1aa8367861645c3c0917f585fe14b1b6b23b0f66.zip | |
migration: simplify check to use qemu file buffer
Firstly, renaming the old matching_page_sizes variable to
matches_target_page_size, which suites more to what it did (it only
checks against target page size rather than multiple page sizes).
Meanwhile, simplify the check logic a bit, and enhance the comments.
Should have no functional change.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180710091902.28780-2-peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
