public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Nested SVM unit tests
@ 2010-07-28 10:18 Avi Kivity
  2010-07-28 10:18 ` [PATCH 1/8] test: move ARRAY_SIZE() to libcflat.h Avi Kivity
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Avi Kivity @ 2010-07-28 10:18 UTC (permalink / raw)
  To: Joerg Roedel, Marcelo Tosatti, kvm

The following patchset adds a framework for nested SVM unit testing.  As
you may guess, future fixes and enhancements to nested SVM will require
matching tests.

Currently, our nested SVM implementation has a 66.67% success rate using
these tests.

Avi Kivity (8):
  test: move ARRAY_SIZE() to libcflat.h
  test: move memset() to libcflat
  test: add type bool
  test: add processor register access functions
  test: make use of new processor.h header
  test: add svm definitions header
  test: add msr definitions header
  test: add svm tests

 kvm/test/config-x86-common.mak |    2 +
 kvm/test/config-x86_64.mak     |    1 +
 kvm/test/lib/libcflat.h        |    9 +
 kvm/test/lib/string.c          |   11 +
 kvm/test/lib/x86/msr.h         |  406 ++++++++++++++++++++++++++++++++++++++++
 kvm/test/lib/x86/processor.h   |  246 ++++++++++++++++++++++++
 kvm/test/x86/access.c          |    8 -
 kvm/test/x86/apic.c            |    8 -
 kvm/test/x86/emulator.c        |   10 +-
 kvm/test/x86/idt.c             |    8 -
 kvm/test/x86/svm.c             |  180 ++++++++++++++++++
 kvm/test/x86/svm.h             |  328 ++++++++++++++++++++++++++++++++
 kvm/test/x86/vm.c              |   30 +---
 kvm/test/x86/vm.h              |   43 +----
 kvm/test/x86/vmexit.c          |    2 -
 15 files changed, 1197 insertions(+), 95 deletions(-)
 create mode 100644 kvm/test/lib/x86/msr.h
 create mode 100644 kvm/test/lib/x86/processor.h
 create mode 100644 kvm/test/x86/svm.c
 create mode 100644 kvm/test/x86/svm.h


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

end of thread, other threads:[~2010-07-29 21:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28 10:18 [PATCH 0/8] Nested SVM unit tests Avi Kivity
2010-07-28 10:18 ` [PATCH 1/8] test: move ARRAY_SIZE() to libcflat.h Avi Kivity
2010-07-28 10:18 ` [PATCH 2/8] test: move memset() to libcflat Avi Kivity
2010-07-28 10:18 ` [PATCH 3/8] test: add type bool Avi Kivity
2010-07-28 10:18 ` [PATCH 4/8] test: add processor register access functions Avi Kivity
2010-07-28 10:18 ` [PATCH 5/8] test: make use of new processor.h header Avi Kivity
2010-07-28 10:18 ` [PATCH 6/8] test: add svm definitions header Avi Kivity
2010-07-28 10:18 ` [PATCH 7/8] test: add msr " Avi Kivity
2010-07-28 10:18 ` [PATCH 8/8] test: add svm tests Avi Kivity
2010-07-28 11:40 ` [PATCH 0/8] Nested SVM unit tests Roedel, Joerg
2010-07-28 11:53   ` Avi Kivity
2010-07-28 12:39     ` Roedel, Joerg
2010-07-28 12:46       ` Avi Kivity
2010-07-29 16:55 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox