KVM: x86: avoid loading PDPTRs after migration when possible
if new KVM_*_SREGS2 ioctls are used, the PDPTRs are a part of the migration state and are correctly restored by those ioctls. Signed-off-by:Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20210607090203.133058-9-mlevitsk@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- arch/x86/include/asm/kvm_host.h 6 additions, 0 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/svm/nested.c 2 additions, 1 deletionarch/x86/kvm/svm/nested.c
- arch/x86/kvm/vmx/nested.c 2 additions, 1 deletionarch/x86/kvm/vmx/nested.c
- arch/x86/kvm/x86.c 3 additions, 0 deletionsarch/x86/kvm/x86.c
Loading
Please register or sign in to comment