kvm: move Kvm check from ARM Kvm GIC to System
authorCurtis Dunham <Curtis.Dunham@arm.com>
Wed, 17 May 2017 21:34:04 +0000 (21:34 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 5 Jul 2017 14:24:03 +0000 (14:24 +0000)
commitb829b4a8e4ef82345cf81d442dbc6c67016fde98
treeeb080d8bca85dd76314f8721e2b8b5c28d1e89fb
parent97187fa814167906ed168a02aad09ff6fd0ed17c
kvm: move Kvm check from ARM Kvm GIC to System

The check was nearly completely generic anyway,
with the exception of the Kvm CPU type.

This will make it easier for other parts of the
codebase to do similar checks.

Change-Id: Ibfdd3d65e9e6cc3041b53b73adfabee1999283da
Reviewed-on: https://gem5-review.googlesource.com/3540
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/kvm/gic.cc
src/arch/arm/kvm/gic.hh
src/sim/system.cc
src/sim/system.hh