All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V5 0/3] SD card model save/load support
@ 2012-10-28 14:59 Igor Mitsyanko
  2012-10-28 14:59 ` [Qemu-devel] [PATCH V5 1/3] hw/sd.c: Fix erase for high capacity cards Igor Mitsyanko
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Igor Mitsyanko @ 2012-10-28 14:59 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, peter.maydell, benoit.canet, wdongxu, stefanha,
	e.voevodin, armbru, andrew.zaborowski, kyungmin.park, pbonzini,
	Igor Mitsyanko

This was a part of a bigger series which also included SD state qomification,
but I decided to split them.

PATCH1
Not actually related to vmstate, fixes a bug for high and extra capacity cards
in erase function.
Changelog:
v4->v5
 - changed commit message to clearly state that it's a bugfix;
 - use neat extract*() API to test a bit in OCR register;
 - get rid of "?:" statements;
v3->v4
 new in series
v1->v3
 wasn't presented

PATCH2
Patch by Peter Maydell which adds support of bitmaps to vmstate, required for
next patch.
Changelog:
  It was originally a standalone patch, the only thing I changed   is a comment
  in vmstate.h:
 "_field_size should be a uint32_t.." -> "_field_size should be a int32_t..".

PATCH3
Adds save/load support for SDState, intermediate variable introduced in SDState
to hold size of wp_groups bitfield.
Changelog:
v4->v5
 - use new VMSTATE_BITMAP() macro for wpgroup bitmap;
 - give a names to SD card mode and state enums and refer to them in comments
   to .mode and .state SDState members;
v3->v4
 no change
v2->v3
 - don't use BITS_TO_LONGS when operating with bitfields;
v1->v2
 - use bitmap.h heder for bit operations

Igor Mitsyanko (2):
  hw/sd.c: Fix erase for high capacity cards
  hw/sd.c: add SD card save/load support

Peter Maydell (1):
  vmstate: Add support for saving/loading bitmaps

 hw/sd.c   | 106 +++++++++++++++++++++++++++++++++++++++++++++-----------------
 hw/sd.h   |   1 +
 savevm.c  |  41 ++++++++++++++++++++++++
 vmstate.h |  13 ++++++++
 4 files changed, 132 insertions(+), 29 deletions(-)

-- 
1.8.0.msysgit.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-29 14:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-28 14:59 [Qemu-devel] [PATCH V5 0/3] SD card model save/load support Igor Mitsyanko
2012-10-28 14:59 ` [Qemu-devel] [PATCH V5 1/3] hw/sd.c: Fix erase for high capacity cards Igor Mitsyanko
2012-10-29 14:23   ` Peter Maydell
2012-10-28 14:59 ` [Qemu-devel] [PATCH V5 2/3] vmstate: Add support for saving/loading bitmaps Igor Mitsyanko
2012-10-28 14:59 ` [Qemu-devel] [PATCH V5 3/3] hw/sd.c: add SD card save/load support Igor Mitsyanko
2012-10-29 14:23   ` Peter Maydell
2012-10-29 14:24 ` [Qemu-devel] [PATCH V5 0/3] SD card model " Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.