All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH unit-tests 00/16] task switch and event injection tests
@ 2010-12-22 15:06 Gleb Natapov
  2010-12-22 15:06 ` [PATCH unit-tests 01/16] Move idt.c into lib code Gleb Natapov
                   ` (15 more replies)
  0 siblings, 16 replies; 22+ messages in thread
From: Gleb Natapov @ 2010-12-22 15:06 UTC (permalink / raw)
  To: avi, mtosatti; +Cc: kvm

Long time ago I wrote a mini guest to test various interesting task
switch and even injection scenarios. This is the port of the test cases
to unit test framework.

Gleb Natapov (16):
  Move idt.c into lib code.
  Make access.c use library functions.
  Remove duplicated idt code from apic test.
  Remove unused function from apic test.
  Rename idt.[ch] into desc.[ch]
  Specify correct operand length for ltr and str.
  Move irq_(enable|disable) into library code.
  Add another task switch test.
  Move vm.[ch] info library code.
  Fix mmu on 32 bit.
  Set WP bit in CR0 to make write protection work.
  Fix exception handling on i386 arch.
  Move handle_irq() from apic test into library code.
  Add handle_exception() interface.
  Move invlpg() into library code.
  Add even injection test.

 config-i386.mak       |    3 +-
 config-x86-common.mak |   24 ++--
 lib/x86/desc.c        |  393 +++++++++++++++++++++++++++++++++++++++++++++++++
 lib/x86/desc.h        |   51 +++++++
 lib/x86/idt.h         |   19 ---
 lib/x86/isr.c         |   99 +++++++++++++
 lib/x86/isr.h         |   14 ++
 lib/x86/processor.h   |   18 ++-
 lib/x86/vm.c          |  256 ++++++++++++++++++++++++++++++++
 lib/x86/vm.h          |   47 ++++++
 x86/access.c          |   97 +------------
 x86/apic.c            |  156 +-------------------
 x86/emulator.c        |    2 +-
 x86/eventinj.c        |  372 ++++++++++++++++++++++++++++++++++++++++++++++
 x86/idt.c             |  148 -------------------
 x86/idt_test.c        |    2 +-
 x86/taskswitch2.c     |  185 +++++++++++++++++++++++
 x86/vm.c              |  229 ----------------------------
 x86/vm.h              |   46 ------
 x86/xsave.c           |    2 +-
 20 files changed, 1464 insertions(+), 699 deletions(-)
 create mode 100644 lib/x86/desc.c
 create mode 100644 lib/x86/desc.h
 delete mode 100644 lib/x86/idt.h
 create mode 100644 lib/x86/isr.c
 create mode 100644 lib/x86/isr.h
 create mode 100644 lib/x86/vm.c
 create mode 100644 lib/x86/vm.h
 create mode 100644 x86/eventinj.c
 delete mode 100644 x86/idt.c
 create mode 100644 x86/taskswitch2.c
 delete mode 100644 x86/vm.c
 delete mode 100644 x86/vm.h

-- 
1.7.2.3


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

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

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-22 15:06 [PATCH unit-tests 00/16] task switch and event injection tests Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 01/16] Move idt.c into lib code Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 02/16] Make access.c use library functions Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 03/16] Remove duplicated idt code from apic test Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 04/16] Remove unused function " Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 05/16] Rename idt.[ch] into desc.[ch] Gleb Natapov
2010-12-29  9:38   ` Avi Kivity
2010-12-22 15:06 ` [PATCH unit-tests 06/16] Specify correct operand length for ltr and str Gleb Natapov
2010-12-29  9:37   ` Avi Kivity
2010-12-29  9:40     ` Gleb Natapov
2010-12-29  9:43       ` Gleb Natapov
2010-12-29  9:47         ` Avi Kivity
2010-12-22 15:06 ` [PATCH unit-tests 07/16] Move irq_(enable|disable) into library code Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 08/16] Add another task switch test Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 09/16] Move vm.[ch] info library code Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 10/16] Fix mmu on 32 bit Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 11/16] Set WP bit in CR0 to make write protection work Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 12/16] Fix exception handling on i386 arch Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 13/16] Move handle_irq() from apic test into library code Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 14/16] Add handle_exception() interface Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 15/16] Move invlpg() into library code Gleb Natapov
2010-12-22 15:06 ` [PATCH unit-tests 16/16] Add even injection test Gleb Natapov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.