]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kvm/hyperv: don't clear VP assist pages on init
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 16 Oct 2018 16:50:05 +0000 (18:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:30:17 +0000 (00:30 +0200)
commitab4097eff2536fc8679ef9091f77bc4906c0ffe0
treea1196741480d99d3b6ae449e0bf679e8650b5da0
parenta338115872c782ae6b6f30e233996ffc3606db50
x86/kvm/hyperv: don't clear VP assist pages on init

VP assist pages may hold valuable data which needs to be preserved across
migration. Clean PV EOI portion of the data on init, the guest is
responsible for making sure there's no garbage in the rest.

This will be used for nVMX migration, eVMCS address needs to be preserved.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c