diff options
| author | Peter Xu <peterx@redhat.com> | 2018-07-10 17:18:53 +0800 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2018-07-10 12:55:59 +0100 |
| commit | 1aa8367861645c3c0917f585fe14b1b6b23b0f66 (patch) | |
| tree | 7af224aa8ea2cdc86164e293b84368f516bcf909 /scripts/qapi/doc.py | |
| parent | a429e7f4887313370ed2d0d3607b7e6bdcfb0e1b (diff) | |
| download | focaccia-qemu-1aa8367861645c3c0917f585fe14b1b6b23b0f66.tar.gz focaccia-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/qapi/doc.py')
0 files changed, 0 insertions, 0 deletions