diff options
author | Igor Druzhinin <igor.druzhinin@citrix.com> | 2018-04-25 14:46:47 +0100 |
---|---|---|
committer | Stefano Stabellini <sstabellini@kernel.org> | 2018-05-31 12:04:54 -0700 |
commit | 04a8f72e877b9a912ffd7afa84209909577d1d96 (patch) | |
tree | 0a413463d0fa4d5c735dcf9ae87d53823546c302 /tcg | |
parent | c181ddaa176856b3cd2dfd12bbcf25fa9c884a97 (diff) | |
download | qemu-04a8f72e877b9a912ffd7afa84209909577d1d96.zip qemu-04a8f72e877b9a912ffd7afa84209909577d1d96.tar.gz qemu-04a8f72e877b9a912ffd7afa84209909577d1d96.tar.bz2 |
xen/hvm: correct reporting of modified memory under physmap during migration
When global_log_dirty is enabled VRAM modification tracking never
worked correctly. The address that is passed to xen_hvm_modified_memory()
is not the effective PFN but RAM block address which is not the same
for VRAM.
We need to make a translation for this address into PFN using
physmap. Since there is no way to access physmap properly inside
xen_hvm_modified_memory() let's make it a global structure.
Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions