Re: [Qemu-devel] [PATCH v12 1/5] vmstate: Add support for an array of ptimer_state *

2013-12-12 Thread Li Guang
Peter Crosthwaite wrote: On Fri, Dec 13, 2013 at 11:19 AM, liguang wrote: From: Peter Maydell Add support for defining a vmstate field which is an array of pointers to structures, and use this to define a VMSTATE_PTIMER_ARRAY() which allows an array of ptimer_state* to be used by devices.

Re: [Qemu-devel] [PATCH v12 1/5] vmstate: Add support for an array of ptimer_state *

2013-12-12 Thread Peter Crosthwaite
On Fri, Dec 13, 2013 at 11:19 AM, liguang wrote: > From: Peter Maydell > > Add support for defining a vmstate field which is an array > of pointers to structures, and use this to define a > VMSTATE_PTIMER_ARRAY() which allows an array of ptimer_state* > to be used by devices. > > Signed-off-by: P

[Qemu-devel] [PATCH v12 1/5] vmstate: Add support for an array of ptimer_state *

2013-12-12 Thread liguang
From: Peter Maydell Add support for defining a vmstate field which is an array of pointers to structures, and use this to define a VMSTATE_PTIMER_ARRAY() which allows an array of ptimer_state* to be used by devices. Signed-off-by: Peter Maydell --- include/hw/ptimer.h |4 incl