]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: always restore the L1's GIF on migration
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 4 May 2021 14:39:35 +0000 (17:39 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 May 2021 10:06:14 +0000 (06:06 -0400)
commit4ebedbef15fbcc254fd766106827936eac2caf70
treee58a20f7203062939fe3f056d53cec1a5a6eacdc
parentc62a0f5c45448ad264a530160b4a52dea396fe4d
KVM: nSVM: always restore the L1's GIF on migration

While usually the L1's GIF is set while L2 runs, and usually
migration nested state is loaded after a vCPU reset which
also sets L1's GIF to true, this is not guaranteed.

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