]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
KVM: nSVM: correctly restore nested_run_pending on migration
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 7 Jan 2021 09:38:52 +0000 (11:38 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Jan 2021 23:11:33 +0000 (18:11 -0500)
commit81f76adad560dfc39cb9625cf1e00a7e2b7b88df
tree8479d4a8aee319985603cee5c83175ed1119edbf
parentc0dba6e46825716db15c4b3a8f05c85b4a59edda
KVM: nSVM: correctly restore nested_run_pending on migration

The code to store it on the migration exists, but no code was restoring it.

One of the side effects of fixing this is that L1->L2 injected events
are no longer lost when migration happens with nested run pending.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210107093854.882483-3-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c