-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run tests inside SVSM #120
run tests inside SVSM #120
Commits on Oct 23, 2023
-
mm: use target_os = "none" instead of test
Once we'll start running tests in the SVSM, we'll want to use the correct implementations and not the fake ones for tests outside the SVSM. Signed-off-by: Tom Dohrmann <erbse.13@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for eee2f13 - Browse repository at this point
Copy the full SHA eee2f13View commit details -
test: disable some tests inside SVSM
For one reason or another some of the tests currently fail when run inside the SVSM. Signed-off-by: Tom Dohrmann <erbse.13@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 20e7531 - Browse repository at this point
Copy the full SHA 20e7531View commit details -
Signed-off-by: Tom Dohrmann <erbse.13@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for aecbe8c - Browse repository at this point
Copy the full SHA aecbe8cView commit details -
test: add no_std compatibly test crate
Signed-off-by: Tom Dohrmann <erbse.13@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 251359d - Browse repository at this point
Copy the full SHA 251359dView commit details -
Makefile: remove kernel.elf dependency for stage1.o
... and move it to `all`. This way we can use the stage1/stage1.o target with another kernel (e.g. test kernel). Signed-off-by: Tom Dohrmann <erbse.13@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for f672c5a - Browse repository at this point
Copy the full SHA f672c5aView commit details -
test: make it possible to run tests inside SVSM
To build and run a kernel that runs the tests use ``` QEMU=/path/to/qemu OVMF=/path/to/firmware/ make test-in-svsm ``` Signed-off-by: Tom Dohrmann <erbse.13@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 7c5521f - Browse repository at this point
Copy the full SHA 7c5521fView commit details -
test: exit using QEMU debug exit device
This is cleaner than `request_terminator_msr` as that MSR is more commonly used to signal errors rather than clean exits. Signed-off-by: Tom Dohrmann <erbse.13@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for ad133e1 - Browse repository at this point
Copy the full SHA ad133e1View commit details -
docs: document how to run tests inside SVSM
Signed-off-by: Tom Dohrmann <erbse.13@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for ad967ca - Browse repository at this point
Copy the full SHA ad967caView commit details -
Add a helper to print the C-bit position on the current platform. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Configuration menu - View commit details
-
Copy full SHA for 4f7ab7d - Browse repository at this point
Copy the full SHA 4f7ab7dView commit details -
scripts: Add test-in-svsm.sh helper script
Instead of having the full QEMU command line in the Makefile, extract the test-run into a separate script. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Configuration menu - View commit details
-
Copy full SHA for 845ec96 - Browse repository at this point
Copy the full SHA 845ec96View commit details