[PATCH kvm-unit-tests 0/4] API test framework

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

 



This patchset adds an API test framework.  Rather than driving kvm from qemu,
we now have a way of calling the kvm API directly and observing the results.
We can switch to guest mode and back at will and see any micro effects such
as the result of executing particular instructions.

As an experiment, the framework is coded in C++.

Avi Kivity (4):
  Makefile: add support for C++
  Introduce a C++ wrapper for the kvm APIs
  Add support for calling a function in guest mode
  Add sample test using the api test harness

 Makefile              |    4 +-
 api/identity.cc       |   76 ++++++++++++++++++++++
 api/identity.h        |   28 ++++++++
 api/kvmxx.cc          |  168 +++++++++++++++++++++++++++++++++++++++++++++++++
 api/kvmxx.h           |   80 +++++++++++++++++++++++
 config-x86-common.mak |    8 +++
 x86/api-sample.cc     |   23 +++++++
 7 files changed, 386 insertions(+), 1 deletions(-)
 create mode 100644 api/identity.cc
 create mode 100644 api/identity.h
 create mode 100644 api/kvmxx.cc
 create mode 100644 api/kvmxx.h
 create mode 100644 x86/api-sample.cc

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux