Port test suite to multiboot
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | Add test device for use with the test suitehw/ qemu-options.hx vl.c | +34 | 5 replies | |
| 2/10 | test: load image immediately after program headerskvm/ | +1 | 0 replies | |
| 3/10 | test: Set up a default stackkvm/ | +1 | 0 replies | |
| 4/10 | test: add multiboot headers to startup fileskvm/ kvm/ | +18 | 0 replies | |
| 5/10 | test: Map 4GB of memorykvm/ | +5 | 0 replies | |
| 6/10 | test: use real APIC instead of fake APICkvm/ | +6 | 0 replies | |
| 7/10 | test: switch output format to elfkvm/ | +0 | 0 replies | |
| 8/10 | test: Remove smp support from access.ckvm/ | +2 | 0 replies | |
| 9/10 | test: fix realmode test print_serial() direction flagkvm/ | +1 | 0 replies | |
| 10/10 | test: port readmode tests to multibootkvm/ kvm/ | +43 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10][QEMU-KVM] Port test suite to multiboot
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(-)