spapr_iommu: Replace @instance_id with LIOBN for migration
commit00d4f525ec8d9394c4e86e36f01ac68d30128dd6
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 12 May 2014 08:46:32 +0000 (12 18:46 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:38 +0000 (16 13:24 +0200)
treed4daec79008c7cf4bf123e919a343f213748dfe7
parent6db5bb0f547b0a0889e8c2ee330f789916813e94
spapr_iommu: Replace @instance_id with LIOBN for migration

SPAPR IOMMU is a bus-less device and therefore its only ID in
migration stream is an instance id which is not reliable ID
as it depends on the command line parameters order. Since
libvirt may change the order, we need something better than that.

This removes VMSD descriptor from the class definitiion and
registers it with @liobn as an intance ID to let the destination
side find the right device to receive migration data.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_iommu.c