From 10d3c8f52dc2c0f498e81946bef8292424fcd1ce Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Tue, 15 Nov 2022 18:13:11 +0100 Subject: Various fixes and improvements Fixed vmsa decode for getting rip in debug mode. Added state machine to data access tracking. Handle mutliple unexpected data access page faults --- notes | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'notes') diff --git a/notes b/notes index 9646ec1..1e86cb3 100644 --- a/notes +++ b/notes @@ -1,7 +1,4 @@ Observations: -- some times get extra faults with race condition.. think there is - a race cond with track_page and something is untracking the pages again -- on Questions: - test/sevstep: why 0 then 15, arent both accesses in the first page? @@ -18,9 +15,13 @@ Next steps: - try adjusting timer for single stepping - Try to setup the non-baseline step without apic, but remapping page such that we see the relevant page faults and the gfn increment -- need to not retrack, allow the page to get remapped - (return false from sevstep_uspt_track.. caller) and enable single_step, - THEN when interrupt hits retrack the page - test/sevstep: implement counter.. read program memory to see how many instructions were executed on apic timer - add warning for high values in baseline + +Meeting questions: +- Why is decrypted rip sometimes off-by-one? + => +- VM gets interrupted independent of our APIC (by the scheduler) is this a problem? + => +- -- cgit v1.2.3-71-gd317