aboutsummaryrefslogtreecommitdiff
path: root/include/trace-tcg.h
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2019-12-19 15:43:22 +0000
committerAnthony PERARD <anthony.perard@citrix.com>2020-02-27 11:50:30 +0000
commit5d4c954931ba62661c6a1bc16ce604a012a10007 (patch)
treea66d547e8b1db3e3e717c494aae6c40ea893dcb9 /include/trace-tcg.h
parent32d0b7be68216f130dc962533c6fc2f9ad848a8b (diff)
downloadqemu-5d4c954931ba62661c6a1bc16ce604a012a10007.zip
qemu-5d4c954931ba62661c6a1bc16ce604a012a10007.tar.gz
qemu-5d4c954931ba62661c6a1bc16ce604a012a10007.tar.bz2
Memory: Only call ramblock_ptr when needed in qemu_ram_writeback
It is possible that a ramblock doesn't have memory that QEMU can access, this is the case with the Xen hypervisor. In order to avoid to trigger an assert, only call ramblock_ptr() when needed in qemu_ram_writeback(). This should fix migration of Xen guests that was broken with bd108a44bc29 ("migration: ram: Switch to ram block writeback"). Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20191219154323.325255-1-anthony.perard@citrix.com>
Diffstat (limited to 'include/trace-tcg.h')
0 files changed, 0 insertions, 0 deletions