]> git.proxmox.com Git - mirror_qemu.git/commit
spapr_iommu: Migrate full state
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 1 Jun 2016 08:57:34 +0000 (18:57 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 7 Jun 2016 00:17:45 +0000 (10:17 +1000)
commita26fdf393404e96b51bec5db9ed6bd54ab6eab85
tree4352b97a466d25c0084c3f6b6d9d9528489bb96d
parentdf7625d422a61acbdb9b10a5b4f3bd576ec94c50
spapr_iommu: Migrate full state

The source guest could have reallocated the default TCE table and
migrate bigger/smaller table. This adds reallocation in post_load()
if the default table size is different on source and destination.

This adds @bus_offset, @page_shift to the migration stream as
a subsection so when DDW is added, migration to older machines will
still be possible. As @bus_offset and @page_shift are not used yet,
this makes no change in behavior.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_iommu.c
include/hw/ppc/spapr.h
trace-events