]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: nSVM: expose clean bit support to the guest
authorMaxim Levitsky <mlevitsk@redhat.com>
Mon, 7 Feb 2022 15:54:22 +0000 (17:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Feb 2022 18:30:49 +0000 (13:30 -0500)
commit68a01f2eaaa4c4be46113b43458810dc6b054e4b
tree5386c38287ee9d1d8379e6f8d341ed21f5bf53af
parentfb592a61b65defb31840fb2b14e2bf8f08e43767
KVM: x86: nSVM: expose clean bit support to the guest

KVM already honours few clean bits thus it makes sense
to let the nested guest know about it.

Note that KVM also doesn't check if the hardware supports
clean bits, and therefore nested KVM was
already setting clean bits and L0 KVM
was already honouring them.

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