vmstate: Make VMSTATE_STRUCT_POINTER take type, not ptr-to-type
commit20bcf73fa80c3477b6aaf5f39f18f031ff55de92
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Jan 2014 21:56:57 +0000 (1 21:56 +0000)
committerJuan Quintela <quintela@redhat.com>
Tue, 4 Feb 2014 14:51:45 +0000 (4 15:51 +0100)
tree9206d86ca4125b3370c1b4144b9c34eccd8aebf6
parent8cfc114a2f293c40077d1bdb7500b29db359ca22
vmstate: Make VMSTATE_STRUCT_POINTER take type, not ptr-to-type

The VMSTATE_STRUCT_POINTER macros are a bit odd in that they
must be passed an argument "FooType *" rather than just taking
the FooType. They're only used in one place, so it's easy to
tidy this up. This also lets us use the macro to replace the
hand-rolled VMSTATE_PTIMER.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Juan Quintela <quintela@redhat.com>
hw/arm/pxa2xx.c
include/hw/ptimer.h
include/migration/vmstate.h