KVM: arm64: pvtime: Ensure task delay accounting is enabled
authorAndrew Jones <drjones@redhat.com>
Mon, 22 Jun 2020 14:27:10 +0000 (16:27 +0200)
committerMarc Zyngier <maz@kernel.org>
Mon, 22 Jun 2020 14:35:57 +0000 (15:35 +0100)
commita25e91028ac2f544e0140aff2c9360a0e995dd86
treeca034948c837bba02bb6dc6de25458250aa1030c
parent66b7e05dc0239c5817859f261098ba9cc2efbd2b
KVM: arm64: pvtime: Ensure task delay accounting is enabled

Ensure we're actually accounting run_delay before we claim that we'll
expose it to the guest. If we're not, then we just pretend like steal
time isn't supported in order to avoid any confusion.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200622142710.18677-1-drjones@redhat.com
arch/arm64/kvm/pvtime.c