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)
commit12e0c6186ba44bb6194cf5d2eda8f46880126587
treea1196741480d99d3b6ae449e0bf679e8650b5da0
parentc4ebd6295ab730bf922c96d3c4045c3a84fd1cf7
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