On 5 April 2012 16:48, Igor Mitsyanko wrote:
> @@ -416,8 +421,9 @@ static void sd_reset(SDState *sd, BlockDriverState *bdrv)
> if (sd->wp_groups)
> g_free(sd->wp_groups);
> sd->wp_switch = bdrv ? bdrv_is_read_only(bdrv) : false;
> + sd->wpgrps_size = BITS_TO_LONGS(sect);
> s
This patch updates SD card emulation to support save/load of card's state.
Signed-off-by: Igor Mitsyanko
---
hw/sd.c | 89 +-
1 files changed, 64 insertions(+), 25 deletions(-)
diff --git a/hw/sd.c b/hw/sd.c
index 7160e8c..6f6be88 10