diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2016-01-15 11:37:41 +0800 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:31:48 -0600 |
commit | 211239033ec86a930a01a6c5c98ece91ac7ea158 (patch) | |
tree | 7cffaef79e8e92fc6ad6adfb00bb2fe5861a54bf /migration/exec.c | |
parent | 52d7c6d91bbf6a9457f292e9425598cf06e7bc42 (diff) | |
download | hqemu-211239033ec86a930a01a6c5c98ece91ac7ea158.zip hqemu-211239033ec86a930a01a6c5c98ece91ac7ea158.tar.gz |
ram: Split host_from_stream_offset() into two helper functions
Split host_from_stream_offset() into two parts:
One is to get ram block, which the block idstr may be get from migration
stream, the other is to get hva (host) address from block and the offset.
Besides, we will do the check working in a new helper offset_in_ramblock().
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-2-git-send-email-zhang.zhanghailiang@huawei.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'migration/exec.c')
0 files changed, 0 insertions, 0 deletions