These patches create libcflat for PowerPC and allow testcases to communicate with kvmctl via MMIO. They culminate in a C testcase that returns an error code through kvmctl to the shell.
The x86 Makefiles looked hairy enough that I didn't want to mess with them, but it should be fairly easy to convert x86 to use the new test/lib/ files. 16 files changed, 436 insertions(+), 130 deletions(-) user/Makefile | 15 +++----- user/config-powerpc.mak | 65 +++++++++++++++++++++++++------------ user/config-x86-common.mak | 6 ++- user/iotable.c | 53 ++++++++++++++++++++++++++++++ user/iotable.h | 40 ++++++++++++++++++++++ user/main-ppc.c | 65 +++++++++++++++++++++++++++++++++---- user/main.c | 52 +---------------------------- user/test/lib/libcflat.h | 37 +++++++++++++++++++++ user/test/lib/panic.c | 13 +++++++ user/test/lib/powerpc/44x/map.c | 51 +++++++++++++++++++++++++++++ user/test/lib/powerpc/44x/tlbwe.S | 50 ++++++++++++++-------------- user/test/lib/powerpc/io.c | 35 +++++++++++++++++++ user/test/lib/printf.c | 21 +---------- user/test/lib/string.c | 2 - user/test/powerpc/cstart.S | 38 +++++++++++++++++++++ user/test/powerpc/exit.c | 23 +++++++++++++ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel