[PATCH kvm-unit-test 0/6] Kvmclock test

Jason Wang
2010-08-27T05:49:07Z

The following series implements test of kvmlock.

---

Jason Wang (6):
Introduce memory barriers.
Introduce atomic operations
Export tsc related helpers
Introduce atol()
Add a simple kvmclock driver
Add a test for kvm-clock

config-x86-common.mak | 7 ++
lib/string.c | 31 +++++++++
lib/x86/atomic.c | 38 +++++++++++
lib/x86/atomic.h | 164 ++++++++++++++++++++++++++++++++++++++++++++++++
lib/x86/processor.h | 22 ++++++
lib/x86/smp.h | 4 +
x86/README | 2 +
x86/kvmclock.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++++
x86/kvmclock.h | 53 ++++++++++++++++
x86/kvmclock_test.c | 145 +++++++++++++++++++++++++++++++++++++++++++
x86/tsc.c | 16 -----
x86/unittests.cfg | 5 +
x86/vmexit.c | 15 ----
13 files changed, 637 insertions(+), 31 deletions(-)
create mode 100644 lib/x86/atomic.c
create mode 100644 lib/x86/atomic.h
create mode 100644 x86/kvmclock.c
create mode 100644 x86/kvmclock.h
create mode 100644 x86/kvmclock_test.c

--
Jason Wang