qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] add fixed-width visitors and serialization tests
@ 2012-02-22 19:00 Michael Roth
  2012-02-22 19:00 ` [Qemu-devel] [PATCH 1/3] qapi: add Visitor interfaces for uint*_t and int*_t Michael Roth
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Roth @ 2012-02-22 19:00 UTC (permalink / raw)
  To: qemu-devel

These patches apply on top of qemu.git master, and can also be obtained from:
git://github.com/mdroth/qemu.git visitor-fixed-width-v1

These patches add fixed-width visitor types and switches all qdev users over to
them.

We also add a test suite which covers these as well as does some sanity
checking on Visitors which may be used in the future for serialization-type
use-cases.

I've also tried plugging in the new String-based visitors, but hit some test
failures due to how they handle floating point so I've held off on those while
I look into it more. That can be done in seperate patch though.

 hw/mc146818rtc.c             |    7 -
 hw/qdev-addr.c               |    4 +-
 hw/qdev-properties.c         |   42 +--
 qapi/qapi-visit-core.c       |  139 ++++++++
 qapi/qapi-visit-core.h       |   16 +
 test-visitor-serialization.c |  718 ++++++++++++++++++++++++++++++++++++++++++
 tests/Makefile               |    6 +-
 7 files changed, 897 insertions(+), 35 deletions(-)

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

end of thread, other threads:[~2012-02-22 19:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-22 19:00 [Qemu-devel] [PATCH 0/3] add fixed-width visitors and serialization tests Michael Roth
2012-02-22 19:00 ` [Qemu-devel] [PATCH 1/3] qapi: add Visitor interfaces for uint*_t and int*_t Michael Roth
2012-02-22 19:00 ` [Qemu-devel] [PATCH 2/3] qapi: unit tests for visitor-based serialization Michael Roth
2012-02-22 19:00 ` [Qemu-devel] [PATCH 3/3] qdev: switch property accessors to fixed-width visitor interfaces Michael Roth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).