target-arm: Don't hardcode KVM target CPU to be A15
commit3541addc888413b84fb309e3f4abf210c0c5eb57
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Nov 2013 17:17:16 +0000 (22 17:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 10 Dec 2013 13:28:49 +0000 (10 13:28 +0000)
tree0ae1485418dab6bac1727eb121d2cecc01e74b94
parentf5fdcd6e58ec35b4463569694fc15d28c505c4d0
target-arm: Don't hardcode KVM target CPU to be A15

Instead of assuming that a KVM target CPU must always be a
Cortex-A15 and hardcoding this in kvm_arch_init_vcpu(),
store the KVM_ARM_TARGET_* value in the ARMCPU class,
and use that.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Message-id: 1385140638-10444-10-git-send-email-peter.maydell@linaro.org
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/kvm-consts.h
target-arm/kvm.c