Re: [Qemu-devel] [PATCH] hw/pl181.c: Add save/load support

2011-12-20 Thread Peter Maydell
On 20 December 2011 10:55, Avi Kivity wrote: > On 12/20/2011 12:01 AM, Peter Maydell wrote: >> Add save/load support to the PL181. >> >> +        VMSTATE_INT32(linux_hack, pl181_state), >> > > Is this real state? Depends what you mean by "real state". It doesn't necessarily correspond to a flipfl

Re: [Qemu-devel] [PATCH] hw/pl181.c: Add save/load support

2011-12-20 Thread Avi Kivity
On 12/20/2011 12:01 AM, Peter Maydell wrote: > Add save/load support to the PL181. > > +VMSTATE_INT32(linux_hack, pl181_state), > Is this real state? Can't it be recovered somehow from other state? -- error compiling committee.c: too many arguments to function

[Qemu-devel] [PATCH] hw/pl181.c: Add save/load support

2011-12-19 Thread Peter Maydell
Add save/load support to the PL181. Signed-off-by: Peter Maydell --- This isn't terribly useful until hw/sd.c has save/load support, of course; I have a patch cooking for that. hw/pl181.c | 49 - 1 files changed, 40 insertions(+), 9 deletions(-)