On Sat, Sep 03, 2022 at 01:28:46AM +0000, Vishal Annapurve wrote:
Introduce following APIs:
- kvm_arch_main : to be called at the startup of each test.
- kvm_arch_post_vm_load: called after guest elf image is loaded into memory to populate any global state in guest memory.
nit: Can you throw the post_vm_load in a separate commit? It's a logically distinct change. Also suggest naming it kvm_arch_post_vm_elf_load() to make it obvious it runs after kvm_vm_elf_load().