]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: nSVM: don't copy pause related settings
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 14 Sep 2021 15:48:15 +0000 (18:48 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 30 Sep 2021 08:27:11 +0000 (04:27 -0400)
commit3a13b5fe9e51166ab1452d0825d3794d1654af9e
treeeee5f53dac420dc8842c7483d0273d3166d895b6
parenteb7029440078112a217b7862ca5381f345f20e96
KVM: x86: nSVM: don't copy pause related settings

According to the SDM, the CPU never modifies these settings.
It loads them on VM entry and updates an internal copy instead.

Also don't load them from the vmcb12 as we don't expose these
features to the nested guest yet.

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