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

Martin Doucha mdoucha@suse.cz
Thu Jan 29 11:38:24 CET 2026


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


More information about the ltp mailing list