summaryrefslogtreecommitdiff
path: root/include/migration/migration.h
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2016-01-15 11:37:41 +0800
committerAmit Shah <amit.shah@redhat.com>2016-02-05 19:09:50 +0530
commit4c4bad486186fed9631b4ceb7c06d24e9fa65e6f (patch)
treeede89d7bff21abcfc43213b42ec891258aeb464d /include/migration/migration.h
parentd38ea87ac54af64ef611de434d07c12dc0399216 (diff)
downloadqemu-4c4bad486186fed9631b4ceb7c06d24e9fa65e6f.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 'include/migration/migration.h')
0 files changed, 0 insertions, 0 deletions