-
- Downloads
KVM: x86: fix backward migration with async_PF
Guests on new hypersiors might set KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT bit when enabling async_PF, but this bit is reserved on old hypervisors, which results in a failure upon migration. To avoid breaking different cases, we are checking for CPUID feature bit before enabling the feature and nothing else. Fixes: 52a5c155 ("KVM: async_pf: Let guest support delivery of async_pf from guest mode") Cc: <stable@vger.kernel.org> Reviewed-by:Wanpeng Li <wanpengli@tencent.com> Reviewed-by:
David Hildenbrand <david@redhat.com> Signed-off-by:
Radim Krčmář <rkrcmar@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- Documentation/virtual/kvm/cpuid.txt 4 additions, 0 deletionsDocumentation/virtual/kvm/cpuid.txt
- Documentation/virtual/kvm/msr.txt 2 additions, 1 deletionDocumentation/virtual/kvm/msr.txt
- arch/x86/include/uapi/asm/kvm_para.h 1 addition, 0 deletionsarch/x86/include/uapi/asm/kvm_para.h
- arch/x86/kernel/kvm.c 4 additions, 4 deletionsarch/x86/kernel/kvm.c
- arch/x86/kvm/cpuid.c 2 additions, 1 deletionarch/x86/kvm/cpuid.c
Loading
Please register or sign in to comment