diff options
author | Andrew Jones | 2020-08-04 19:06:02 +0200 |
---|---|---|
committer | Marc Zyngier | 2020-08-21 14:04:14 +0100 |
commit | 53f985584e3c2ebe5f2455530fbf87a001528db8 (patch) | |
tree | 7ad5be2d2651d8ebc4595c784a13d43b7e6a5a2c /arch/arm64/include/asm/kvm_host.h | |
parent | 4d2d4ce001f283ed8127173543b4cfb65641e357 (diff) |
KVM: arm64: pvtime: Fix stolen time accounting across migration
When updating the stolen time we should always read the current
stolen time from the user provided memory, not from a kernel
cache. If we use a cache then we'll end up resetting stolen time
to zero on the first update after migration.
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200804170604.42662-5-drjones@redhat.com
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 65568b23868a..dd9c3b25aa1e 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -368,7 +368,6 @@ struct kvm_vcpu_arch { /* Guest PV state */ struct { - u64 steal; u64 last_steal; gpa_t base; } steal; |