[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [fedora-virt] how can i see if the running kernel has kvm support?



On Wed, 2009-04-08 at 16:05 -0400, Robert P. J. Day wrote:
> i'm curious as to how to examine a running kernel to see what it has
> in the way of kvm support.

Just for completeness' sake: the most supportable and portable way to
check for that is to use libvirt's virConnectGetCapabilities[1] (or
'virsh capabilities')

Programs that need to know whether kvm is enabled, shouldn't go poking
around /sys etc. - look at the capabilities XML instead. And if there's
info missing that you need, ask on libvir-list and it'll happen somehow.

David

[1] http://libvirt.org/formatcaps.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]