summaryrefslogtreecommitdiffstats
path: root/cpus.c
diff options
context:
space:
mode:
authorGonglei2016-05-10 04:04:59 +0200
committerPaolo Bonzini2016-05-23 16:53:44 +0200
commitfa53a0e53efdc7002497ea4a76aacf6cceb170ef (patch)
treeea02755b801884f1043e0eaa4127205a2bcee370 /cpus.c
parentvl: change runstate only if new state is different from current state (diff)
downloadqemu-fa53a0e53efdc7002497ea4a76aacf6cceb170ef.tar.gz
qemu-fa53a0e53efdc7002497ea4a76aacf6cceb170ef.tar.xz
qemu-fa53a0e53efdc7002497ea4a76aacf6cceb170ef.zip
memory: drop find_ram_block()
On the one hand, we have already qemu_get_ram_block() whose function is similar. On the other hand, we can directly use mr->ram_block but searching RAMblock by ram_addr which is a kind of waste. Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-Id: <1462845901-89716-2-git-send-email-arei.gonglei@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions