diff options
author | Vitaly Kuznetsov <[email protected]> | 2021-04-14 14:35:41 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-05-07 06:05:36 -0400 |
commit | 8b79feffeca28c5459458fe78676b081e87c93a4 (patch) | |
tree | 3a57061527094f12520280e68a545ac85963272d /lib/string_helpers.c | |
parent | 0a269a008f837e76ce285679ab3005059fadc2a6 (diff) |
x86/kvm: Teardown PV features on boot CPU as well
Various PV features (Async PF, PV EOI, steal time) work through memory
shared with hypervisor and when we restore from hibernation we must
properly teardown all these features to make sure hypervisor doesn't
write to stale locations after we jump to the previously hibernated kernel
(which can try to place anything there). For secondary CPUs the job is
already done by kvm_cpu_down_prepare(), register syscore ops to do
the same for boot CPU.
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions