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

2013-12-12 Thread liguang
From: Peter Maydell peter.mayd...@linaro.org 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 peter.mayd...@linaro.org

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 lig.f...@cn.fujitsu.com wrote: From: Peter Maydell peter.mayd...@linaro.org 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*

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, liguanglig.f...@cn.fujitsu.com wrote: From: Peter Maydellpeter.mayd...@linaro.org 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