]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
migration/ram.c: Use RAMBlock rather than MemoryRegion
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 13 Aug 2015 10:51:30 +0000 (11:51 +0100)
committerAmit Shah <amit.shah@redhat.com>
Tue, 29 Sep 2015 06:03:02 +0000 (11:33 +0530)
commit2f68e39956b7504f6669671fd95b70859afc340d
tree7e98443000499bcad441141428af20115de42162
parenteb5c936e81e2e292ceefec9b6628862599f71c17
migration/ram.c: Use RAMBlock rather than MemoryRegion

RAM migration mainly works on RAMBlocks but in a few places
uses data from MemoryRegions to access the same information that's
already held in RAMBlocks; clean it up just to avoid the
MemoryRegion use.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1439463094-5394-2-git-send-email-dgilbert@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
migration/ram.c