OSDN Git Service

gt64xxx_pci: Add VMStateDescription
authorSanjay Lal <sanjayl@kymasys.com>
Fri, 20 Jun 2014 13:59:58 +0000 (14:59 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 20 Jun 2014 21:40:16 +0000 (23:40 +0200)
commit427e1750a0b98a72cad424327604f51e993dcc5f
tree517122b8869c40f13bef0df3fa1101ab71277859
parent5ab5c04170c5a73172a51a5a5647788c26263db9
gt64xxx_pci: Add VMStateDescription

Add VMStateDescription for GT64120 PCI emulation used by the Malta
platform, to allow it to work with savevm/loadvm and live migration.

The entire register array is saved/restored using VMSTATE_UINT32_ARRAY
(fixed length GT_REGS = 1024).

Signed-off-by: Sanjay Lal <sanjayl@kymasys.com>
[james.hogan@imgtec.com: Convert to VMState]
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Andreas Färber <afaerber@suse.de>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/mips/gt64xxx_pci.c