[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aKzRgp58vU6h02n6@google.com>
Date: Mon, 25 Aug 2025 14:11:30 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Marc Zyngier <maz@...nel.org>
Cc: Sebastian Ott <sebott@...hat.com>, Paolo Bonzini <pbonzini@...hat.com>,
Shuah Khan <shuah@...nel.org>, Oliver Upton <oliver.upton@...ux.dev>, kvm@...r.kernel.org,
kvmarm@...ts.linux.dev, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] KVM: selftests: fix irqfd_test on arm64
On Mon, Aug 25, 2025, Marc Zyngier wrote:
> On Mon, 25 Aug 2025 20:52:21 +0100,
> Sean Christopherson <seanjc@...gle.com> wrote:
> > Is there a sane way to handle vGIC creation in kvm_arch_vm_post_create()? E.g.
> > could we create a v3 GIC when possible, and fall back to v2? And then provide a
> > way for tests to express a hard v3 GIC dependency?
>
> You can ask KVM what's available. Like an actual VMM does. There is no
> shortage of examples in the current code base.
Right, by "sane" I meant: is there a way to instantiate a supported GIC without
making it hard/painful to write tests, and without having to plumb in arm64
specific requirements to common APIs?
E.g. are there tests that use the common vm_create() APIs and rely on NOT having
a GIC?
> And ideally, this should be made an integral part of creating a viable
> VM, which the current VM creation hack makes a point in not providing.
Powered by blists - more mailing lists