[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGtprH_PaAWqvT+89nhUbBV3QjO2b0i=KS4s6dL0ZxZA3WZ8GA@mail.gmail.com>
Date: Wed, 14 Sep 2022 12:13:29 -0700
From: Vishal Annapurve <vannapurve@...gle.com>
To: Andrew Jones <andrew.jones@...ux.dev>
Cc: David Matlack <dmatlack@...gle.com>, x86 <x86@...nel.org>,
kvm list <kvm@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
linux-kselftest@...r.kernel.org,
Paolo Bonzini <pbonzini@...hat.com>, shuah <shuah@...nel.org>,
Ben Gardon <bgardon@...gle.com>,
Sean Christopherson <seanjc@...gle.com>,
Oliver Upton <oupton@...gle.com>, peterx@...hat.com,
Vitaly Kuznetsov <vkuznets@...hat.com>
Subject: Re: [V1 PATCH 2/5] selftests: kvm: Introduce kvm_arch_main and helpers
On Fri, Sep 9, 2022 at 12:01 AM Andrew Jones <andrew.jones@...ux.dev> wrote:
...
> >
> > void __attribute__ ((constructor)) kvm_selftest_init(void)
> > {
> > /* Tell stdout not to buffer its content. */
> > setbuf(stdout, NULL);
> >
> > kvm_selftest_arch_init();
> > }
> >
> > Per-arch:
> >
> > void kvm_selftest_arch_init(void)
> > {
> > /* arch-specific pre-main stuff */
> > }
>
> WFM and I think that's what Vishal was suggesting as well.
>
Yes, this matches with what I was suggesting. Planning to post this
update in the next series.
- Vishal
> Thanks,
> drew
Powered by blists - more mailing lists