kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10][QEMU-KVM] Port test suite to multiboot
@ 2009-09-13 15:18 Avi Kivity
  2009-09-13 15:18 ` [PATCH 01/10] Add test device for use with the test suite Avi Kivity
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Avi Kivity @ 2009-09-13 15:18 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: kvm

Currently the test suite uses a custom control program and BIOS as a loader.
This is clumsy and annoying to work with.

This patch series ports the test suite to load with the multiboot support
provided by qemu -kernel.  Test binaries are now ordinary elf objects
(though still with the extension .flat).  A -test-device option is added
to qemu to support output, memory size, and exit.  With the exception of
exit these can be ported to use existing qemu facilities.

To use the new tests, type

   qemu-system-x86_64 -test-device -kernel /path/to/vmexit.flat

Avi Kivity (10):
  Add test device for use with the test suite
  test: load image immediately after program headers
  test: Set up a default stack
  test: add multiboot headers to startup files
  test: Map 4GB of memory
  test: use real APIC instead of fake APIC
  test: switch output format to elf
  test: Remove smp support from access.c
  test: fix realmode test print_serial() direction flag
  test: port readmode tests to multiboot

 hw/pc.c                        |   28 ++++++++++++++++++++
 kvm/user/flat.lds              |    4 +--
 kvm/user/test/x86/access.c     |    4 +-
 kvm/user/test/x86/cstart.S     |    9 ++++++
 kvm/user/test/x86/cstart64.S   |   26 +++++++++++++++---
 kvm/user/test/x86/realmode.c   |   54 +++++++++++++++++++++++++++++++--------
 kvm/user/test/x86/realmode.lds |    6 +---
 qemu-options.hx                |    2 +
 vl.c                           |    4 +++
 9 files changed, 111 insertions(+), 26 deletions(-)


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

end of thread, other threads:[~2009-09-14 13:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-13 15:18 [PATCH 00/10][QEMU-KVM] Port test suite to multiboot Avi Kivity
2009-09-13 15:18 ` [PATCH 01/10] Add test device for use with the test suite Avi Kivity
2009-09-14  7:52   ` Gerd Hoffmann
2009-09-14  8:01     ` Avi Kivity
2009-09-14 13:30       ` Avi Kivity
2009-09-14 12:59   ` Anthony Liguori
2009-09-14 13:01     ` Avi Kivity
2009-09-13 15:18 ` [PATCH 02/10] test: load image immediately after program headers Avi Kivity
2009-09-13 15:18 ` [PATCH 03/10] test: Set up a default stack Avi Kivity
2009-09-13 15:18 ` [PATCH 04/10] test: add multiboot headers to startup files Avi Kivity
2009-09-13 15:18 ` [PATCH 05/10] test: Map 4GB of memory Avi Kivity
2009-09-13 15:18 ` [PATCH 06/10] test: use real APIC instead of fake APIC Avi Kivity
2009-09-13 15:18 ` [PATCH 07/10] test: switch output format to elf Avi Kivity
2009-09-13 15:18 ` [PATCH 08/10] test: Remove smp support from access.c Avi Kivity
2009-09-13 15:18 ` [PATCH 09/10] test: fix realmode test print_serial() direction flag Avi Kivity
2009-09-13 15:18 ` [PATCH 10/10] test: port readmode tests to multiboot Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).