target/arm/kvm64: kvm64 cpus have timer registers
commit65caa415487f4a6e265105446c6ef8f56bb0aa70
authorAndrew Jones <drjones@redhat.com>
Thu, 30 Jan 2020 16:02:06 +0000 (30 16:02 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Jan 2020 16:02:06 +0000 (30 16:02 +0000)
tree8d59dc706e814b99287869ef48feda6daab7aef0
parentfa7c8e92cb9bb004359926497675a9b7d0099dfc
target/arm/kvm64: kvm64 cpus have timer registers

Add the missing GENERIC_TIMER feature to kvm64 cpus.

We don't currently use these registers when KVM is enabled, but it's
probably best we add the feature flag for consistency and potential
future use. There's also precedent, as we add the PMU feature flag to
KVM enabled guests, even though we don't use those registers either.

This change was originally posted as a hunk of a different, never
merged patch from Bijan Mottahedeh.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200120101023.16030-4-drjones@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/kvm64.c