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

Martin Doucha
2026-01-29T10:38: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.

--
Martin Doucha mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic