vmstate: move VMSTATE_PCIE_AER_ERRS to hw/hw.h
commit47188700a45166b49f1579f3efeab72ae2045f7a
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Sun, 20 Feb 2011 13:50:35 +0000 (20 16:50 +0300)
committerAndrzej Zaborowski <balrog@zabor.org>
Thu, 3 Mar 2011 13:54:50 +0000 (3 14:54 +0100)
tree419f14609e4c67dbe2ce13d431905e2110535e14
parentee2479d3e8fbf6d79813eb7744725ae0e14eaf58
vmstate: move VMSTATE_PCIE_AER_ERRS to hw/hw.h

VMSTATE_PCIE_AER_ERRS is indeed useful for other emulation drivers.
Move it to hw/hw.h under the name of VMSTATE_STRUCT_VARRAY_POINTER_UINT16.
Also add VMSTATE_STRUCT_VARRAY_POINTER_INT32 which is more or less
the same as _UINT16 macro, except the fact it uses int32_t internally.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/hw.h
hw/pcie_aer.c