]> 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)
commitcb477973a2392e6a89cded032ed4c7ce3a4c1491
treeeee5f53dac420dc8842c7483d0273d3166d895b6
parentd964ae5105943301b10aae5637b67cdee60c127d
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