Re: [LTP] [PATCH v1] kvm: Add needs_driver support to check for kvm driver

Petr Vorel
2026-01-29T11:15:51Z

> On 1/28/26 22:03, Petr Vorel wrote:
> > Hi all,

> > @Martin Is it enough to have kvm driver? Or do tests depend on any of specific
> > kvm kernel config options (not only from virt/kvm/Kconfig, but arch dependent
> > configs e.g. CONFIG_KVM_GUEST=y from arch/x86/Kconfig ?)

> Some KVM tests can be run by unprivileged user so those also need a check
> whether they have permission to open /dev/kvm for writing. But that can be
> fixed in a separate patch. Let's merge this one with the commit message fix.

+1, thank you!

Merged and I noted this TODO
https://github.com/linux-test-project/ltp/issues/1219#issuecomment-3817000775

Kind regards,
Petr