On 31 July 2012 19:18, Igor Mitsyanko wrote:
> On 07/31/2012 06:56 PM, Peter Maydell wrote:
>> On 27 July 2012 20:29, Igor Mitsyanko wrote:
>>>
>>> +VMSTATE_BUFFER_MULTIPLY(wp_groups, SDState, 1, NULL, 0,
>>> wpgrps_size,
>>> +sizeof(unsigned long)),
>>
>>
>> Isn't this tr
On 07/31/2012 06:56 PM, Peter Maydell wrote:
On 27 July 2012 20:29, Igor Mitsyanko wrote:
+VMSTATE_BUFFER_MULTIPLY(wp_groups, SDState, 1, NULL, 0, wpgrps_size,
+sizeof(unsigned long)),
Isn't this trying to use wpgrps_size as the number of unsigned longs in
the bitmap,
On 27 July 2012 20:29, Igor Mitsyanko wrote:
> +VMSTATE_BUFFER_MULTIPLY(wp_groups, SDState, 1, NULL, 0, wpgrps_size,
> +sizeof(unsigned long)),
Isn't this trying to use wpgrps_size as the number of unsigned longs in
the bitmap, when it's actually the size of the bitmap in
On 07/31/2012 01:33 PM, Markus Armbruster wrote:
Igor Mitsyanko writes:
This patch updates SD card model to support save/load of card's state.
Signed-off-by: Igor Mitsyanko
---
hw/sd.c | 88 +-
1 files changed, 64 insertions(+)
Igor Mitsyanko writes:
> This patch updates SD card model to support save/load of card's state.
>
> Signed-off-by: Igor Mitsyanko
> ---
> hw/sd.c | 88 +-
> 1 files changed, 64 insertions(+), 24 deletions(-)
>
> diff --git a/hw/sd.c
This patch updates SD card model to support save/load of card's state.
Signed-off-by: Igor Mitsyanko
---
hw/sd.c | 88 +-
1 files changed, 64 insertions(+), 24 deletions(-)
diff --git a/hw/sd.c b/hw/sd.c
index 20ebd8e..f8ab045 100644