This patchset ports the test framework to qemu's multiboot support with
-kernel.  You can now run tests using the following command:

  qemu -chardev stdio,id=test -device testdev,chardev=test
       -kernel  kvm/user/test/x86/apic.flat

the test device is transitional an I plan to remove it in the future,
replacing it with native qemu devices.

Avi Kivity (33):
  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
  test: Allow adding mode vmexit latency tests
  test: Add vmcall latency test
  test: add cr8 latency tests
  test: Mask PIC interrupts before APIC test
  test-device: add support for irq injection
  test: Use function table for APIC access
  test: use new apic_icr_write() to issue IPI
  test: add x2apic test
  test: add support for the firmware configuration interface
  test: Add fwcfg interface for getting the cpu count
  test: vm: map mmio 1:1
  test: apic: use 1:1 mapping for apic
  test: Move apic functions to libcflat
  test: switch 64-bit smp startup to real APIC
  test: add apic_id() accessor
  test: Use xapic_write() to enable xapic()
  test: initialize idt on all processors
  test: initialize apic/x2apic on all processors
  test: wait for all processors to complete initialization
  test: port smp runtime to real apic
  test: drop irq.flat
  test: fix autodependencies
  test: Fix compilation rule for assembly files wrt autodependencies
  test: avoid deleting intermediate .o files

Gerd Hoffmann (1):
  Add test device

 Makefile.target                                   |    1 +
 hw/pc.c                                           |    3 +
 hw/testdev.c                                      |   63 +++++++++
 kvm/user/Makefile                                 |    2 +-
 kvm/user/config-x86-common.mak                    |   16 ++-
 kvm/user/config-x86_64.mak                        |    2 +-
 kvm/user/flat.lds                                 |    4 +-
 kvm/user/test/{x86/apic.h => lib/x86/apic-defs.h} |    0
 kvm/user/test/lib/x86/apic.c                      |  149 +++++++++++++++++++++
 kvm/user/test/lib/x86/apic.h                      |   34 +++++
 kvm/user/test/lib/x86/fwcfg.c                     |   40 ++++++
 kvm/user/test/lib/x86/fwcfg.h                     |   44 ++++++
 kvm/user/test/lib/x86/smp.c                       |   68 ++--------
 kvm/user/test/lib/x86/smp.h                       |    2 +-
 kvm/user/test/x86/access.c                        |    4 +-
 kvm/user/test/x86/apic.c                          |   70 +++-------
 kvm/user/test/x86/cstart.S                        |    9 ++
 kvm/user/test/x86/cstart64.S                      |  114 +++++++++++-----
 kvm/user/test/x86/irq.S                           |  118 ----------------
 kvm/user/test/x86/realmode.c                      |   54 ++++++--
 kvm/user/test/x86/realmode.lds                    |    6 +-
 kvm/user/test/x86/smptest.c                       |   10 +-
 kvm/user/test/x86/vm.c                            |    3 +
 kvm/user/test/x86/vmexit.c                        |   56 +++++++-
 24 files changed, 573 insertions(+), 299 deletions(-)
 create mode 100644 hw/testdev.c
 rename kvm/user/test/{x86/apic.h => lib/x86/apic-defs.h} (100%)
 create mode 100644 kvm/user/test/lib/x86/apic.c
 create mode 100644 kvm/user/test/lib/x86/apic.h
 create mode 100644 kvm/user/test/lib/x86/fwcfg.c
 create mode 100644 kvm/user/test/lib/x86/fwcfg.h
 delete mode 100644 kvm/user/test/x86/irq.S

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

Reply via email to