]> err.no Git - linux-2.6/commit
KVM: Portability: move KVM_CHECK_EXTENSION
authorZhang Xiantao <xiantao.zhang@intel.com>
Thu, 15 Nov 2007 15:07:47 +0000 (23:07 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:03 +0000 (17:53 +0200)
commit018d00d2fef27fc65f2917bec8f72b93615c18e1
treef2591e8da457287195e138a62e2d34a8bdfbe14c
parenta7e6c88a78b7c3d67491bf90b2b95e66437dbdb6
KVM: Portability: move KVM_CHECK_EXTENSION

Make KVM_CHECK_EXTENSION code into a function, all archs can define its
capability independently.

Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/x86.c