Re: [V1 PATCH 2/5] selftests: kvm: Introduce kvm_arch_main and helpers
From: David Matlack
Date: Thu Sep 08 2022 - 17:27:51 EST
On Sat, Sep 03, 2022 at 01:28:46AM +0000, Vishal Annapurve wrote:
> Introduce following APIs:
> 1) kvm_arch_main : to be called at the startup of each test.
> 2) 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().