qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/3] add fixed-width visitors and serialization test


From: Michael Roth
Subject: [Qemu-devel] [PATCH 0/3] add fixed-width visitors and serialization tests
Date: Wed, 22 Feb 2012 13:00:32 -0600

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(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]