diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2016-01-15 11:37:44 +0800 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2016-02-05 19:09:50 +0530 |
commit | a08f6890347b5483a6764d5d18baceb41f3f7e89 (patch) | |
tree | 3b65926aad4b8ec12d6227abed5480e301ffca03 /qmp-commands.hx | |
parent | fb3520a84e4939a4135033e2a7afefdd7b9ee8f5 (diff) |
migration/ram: Fix some helper functions' parameter to use PageSearchStatus
Some helper functions use parameters 'RAMBlock *block' and 'ram_addr_t *offset',
We can use 'PageSearchStatus *pss' directly instead, with this change, we
can reduce the number of parameters for these helper function, also
it is easily to add new parameters for these helper functions.
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1452829066-9764-5-git-send-email-zhang.zhanghailiang@huawei.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
0 files changed, 0 insertions, 0 deletions