diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-04-08 15:47:18 (GMT) |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-04-29 05:23:12 (GMT) |
commit | 17b1e31f9201fc102ee3ddd409988e47753e22f9 (patch) | |
tree | c500ae28f6c2a4ad2c36c74a9c648f6fee468faf /arch/arm/kvm | |
parent | d157f4a5155f4fbd0d1da66b3d2f504c13bd194d (diff) | |
download | linux-17b1e31f9201fc102ee3ddd409988e47753e22f9.tar.xz |
ARM: KVM: add architecture specific hook for capabilities
Most of the capabilities are common to both arm and arm64, but
we still need to handle the exceptions.
Introduce kvm_arch_dev_ioctl_check_extension, which both architectures
implement (in the 32bit case, it just returns 0).
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'arch/arm/kvm')
-rw-r--r-- | arch/arm/kvm/arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 6ea2aed..cc67caf 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -206,7 +206,7 @@ int kvm_dev_ioctl_check_extension(long ext) r = KVM_MAX_VCPUS; break; default: - r = 0; + r = kvm_arch_dev_ioctl_check_extension(ext); break; } return r; |