Dasharo/Docs: Added Test-Matrix for QEMU Q35 machine & fixed development process

Signed-off-by: maheshtammisetti <mahesh.tammisetti@3mdeb.com>
This commit is contained in:
maheshtammisetti
2023-02-01 20:29:17 +05:30
parent 333b4426a4
commit 629bc45f07
2 changed files with 51 additions and 5 deletions
+3 -5
View File
@@ -2,20 +2,18 @@
## Intro
1. Please check your qemu setup and launch qemu using built OVMF firmware image.
1. Please check your qemu setup and launch qemu outside
docker instance (host machine) using built OVMF firmware image.
+ QEMU Installation:
- [Install QEMU on your linux distro](<https://www.qemu.org/download/#linux>)
```bash
qemu-system-x86_64 -drive if=pflash,format=raw,file=Build/OvmfX64/DEBUG_GCC5/FV/OVMF.fd -nographic -debugcon file:debug.log -global isa-debugcon.iobase=0x402 -global ICH9-LPC.disable_s3=1 -net none -machine q35,smm=on
qemu-system-x86_64 -drive if=pflash,format=raw,file=Build/OvmfX64/DEBUG_GCC5/FV/OVMF.fd -debugcon file:debug.log -global isa-debugcon.iobase=0x402 -global ICH9-LPC.disable_s3=1 -net none -machine q35,smm=on
```
+ `-drive` indicate device is pflash with firmware image of built OVMF.fd image.
+ `-nographic` indicate to start qemu emulator without any graphical output.
Useful while testing in docker.
+ `-debugcon file:debug.log -global isa-debugcon.iobase=0x402`
default OVMF build writes debug messages to IO port **0x402**.
The following qemu command line options save them in the file called debug.log.
+48
View File
@@ -0,0 +1,48 @@
# Test matrix
## About
The test matrix is used to determine the scope of tests which the DUT is
subjected from before the release of the new binary.
Note, that the below-described test scope is used during Dasharo
Certification Procedure for tested platform:
`QEMU Q35 Machine`
## Module: Dasharo compatibility
| No. | Supported test suite | Test suite ID | Supported test cases |
|:-----|:--------------------------------------------------|:-------------:|:-------------------------------------|
| 1. | [UEFI compatible interface][EFI] | EFI | All |
| 2. | [UEFI Shell][USH] | USH | All |
| 3. | [Display ports and LCD support][DSP] | DSP | DSP001.001 |
| 4. | [Custom boot logo][CLG] | CLG | All |
| 5. | [Debian Stable and Ubuntu LTS support][LBT] | LBT | LBT001.001, LBT001.002, LBT002.001, LBT002.002, LBT003.001, LBT003.002, LBT004.001, LBT004.002|
| 6. | [Windows booting][WBT] | WBT | All |
| 7. | [Custom Boot Keys][CBK] | CBK | All |
| 8. | [Qubes OS Support][QBS] | QBS | QBS001.001, QBS001.002 |
| 9. | [CPU status][CPU] | CPU | All |
| 10. | [BIOS Setup password][PSW] | PSW | All |
[EFI]: ../../unified-test-documentation/dasharo-compatibility/30M-uefi-compatible-interface.md
[USH]: ../../unified-test-documentation/dasharo-compatibility/30P-uefi-shell.md
[DSP]: ../../unified-test-documentation/dasharo-compatibility/31E-display-ports-and-lcd.md
[CLG]: ../../unified-test-documentation/dasharo-compatibility/304-custom-logo.md
[LBT]: ../../unified-test-documentation/dasharo-compatibility/308-debian-stable-and-ubuntu-lts-support.md
[WBT]: ../../unified-test-documentation/dasharo-compatibility/31A-windows-booting.md
[CBK]: ../../unified-test-documentation/dasharo-compatibility/303-custom-boot-menu-key.md
[QBS]: ../../unified-test-documentation/dasharo-compatibility/309-qubesos-support.md
[CPU]: ../../unified-test-documentation/dasharo-compatibility/31T-cpu-status.md
[PSW]: ../../unified-test-documentation/dasharo-compatibility/329-bios-setup-password.md
## Module: Dasharo security
| No. | Supported test suite | Test suite ID | Supported test cases |
|:-----|:--------------------------------------------------|:-------------:|:-------------------------------------|
| 1. | [Secure Boot support][SBO] | SBO | All |
| 2. | [ME neuter support][MNE] | MNE | All |
| 3. | [BIOS lock support][BLS] | BLS | All |
[SBO]: ../../unified-test-documentation/dasharo-security/206-secure-boot.md
[MNE]: ../../unified-test-documentation/dasharo-security/20F-me-neuter.md
[BLS]: ../../unified-test-documentation/dasharo-security/20J-bios-lock-support.md