Re: [V3 PATCH 3/4] KVM: selftests: Add arch specific post vm creation hook

From: Peter Gonda
Date: Tue Nov 15 2022 - 15:49:51 EST


On Thu, Oct 13, 2022 at 8:03 AM Andrew Jones <andrew.jones@xxxxxxxxx> wrote:
>
> On Thu, Oct 13, 2022 at 12:13:18PM +0000, Vishal Annapurve wrote:
> > Add arch specific API kvm_arch_vm_post_create to perform any required setup
> > after VM creation.
> >
> > This API will be used in followup commit to convey cpu vendor type to the
> > guest vm.
> >
> > Suggested-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> > Signed-off-by: Vishal Annapurve <vannapurve@xxxxxxxxxx>
> > ---
> > tools/testing/selftests/kvm/include/kvm_util_base.h | 4 ++++
> > tools/testing/selftests/kvm/lib/kvm_util.c | 9 ++++++---
> > tools/testing/selftests/kvm/lib/x86_64/processor.c | 6 ++++++
> > 3 files changed, 16 insertions(+), 3 deletions(-)
> >
>
> Reviewed-by: Andrew Jones <andrew.jones@xxxxxxxxx>

Reviewed-by: Peter Gonda <pgonda@xxxxxxxxxx>