-
Hi all, I currently try to hack something into svsm to measure the linux guest kernel that is about to be launched. For that I need to find the best location to squeeze my code in. So that should be somewhere, where the kernel is fully loaded into memory but before the context switch to the hypervisor is prepared. In particular I need access to the guest kernel's page tables. Any tips? (I am looking for it myself but help of experts is highly appreciated; I don't want to land on a sub-ideal result or find out something after several hours or even days of searching that somebody with a lot of insight into the code base could have told me right away) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The SVSM doesn't currently support Linux direct boot, does it? AFAIK we only boot into regular firmware, so the place where the kernel would be loaded wouldn't be in the SVSM, but OVMF. |
Beta Was this translation helpful? Give feedback.
The SVSM doesn't currently support Linux direct boot, does it? AFAIK we only boot into regular firmware, so the place where the kernel would be loaded wouldn't be in the SVSM, but OVMF.