arm64: debug: add migration tests for debug state
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64: debug: add a migration test for breakpoint statearm/ arm/ arm/ | +223 | 0 replies | |
| 2/3 | arm64: debug: add a migration test for watchpoint statearm/ arm/ | +176 | 0 replies | |
| 3/3 | arm64: debug: add a migration test for single-step statearm/ arm/ | +59 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [kvm-unit-tests PATCH 0/3] arm64: debug: add migration tests for debug state
Add some tests for checking that we can migrate debug state correctly: setup some breakpoints/watchpoints/single-stepping, migrate, and then check that we get the expected exceptions.
The 3 patches in this series add tests for breakpoints, watchpoints, and single-stepping one patch at a time. Each patch adds a migration test and a sanity test (to test that debugging works with no migration).
Note that this is limited to 64-bits and a single vcpu. Also note that some of the code, like reset_debug_state, is borrowed from kvm selftests.
Ricardo Koller (3):
arm64: debug: add a migration test for breakpoint state
arm64: debug: add a migration test for watchpoint state
arm64: debug: add a migration test for single-step state
arm/Makefile.arm64 | 1 + arm/debug.c | 420 +++++++++++++++++++++++++++++++++++++++++++++ arm/unittests.cfg | 37 ++++ 3 files changed, 458 insertions(+) create mode 100644 arm/debug.c
Signature · 1 line
2.34.1.173.g76aa8bc2d0-goog