[PATCH] kselftest: kvm/arm64: Skip tests if we can't create a vgic-v3
Mark Brown
broonie at kernel.org
Wed Jan 26 04:52:22 PST 2022
On Wed, Jan 26, 2022 at 09:07:48AM +0000, Marc Zyngier wrote:
> Mark Brown <broonie at kernel.org> wrote:
> > /* Distributor setup */
> > - gic_fd = kvm_create_device(vm, KVM_DEV_TYPE_ARM_VGIC_V3, false);
> > + gic_fd = kvm_create_device(vm, KVM_DEV_TYPE_ARM_VGIC_V3, true);
> So you now only test whether it is possible to create a virtual GICv3,
> but don't actually create it. How does this work?
Oh, that's rather obscure in the API - so the file descriptor returned
if the test flag is specified can't actually be used?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220126/ab5a3211/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list