kvm
kvm copied to clipboard
how to add "spp=on" to enable spp feature
Hello,I do some tests on "sub-page-protection" but when I called "KVM_INIT_SPP" the function return error "-KVM_EOPNOTSUPP " So I don 't know is there need hardware support or need to set the "spp_supported =1" by myself. if need set it and how to set it ?
spp_supported is set if there is hardware support.
See this comment: https://github.com/KVM-VMI/kvm/commit/9d8e1279403d589fdb66e17a0dd9af6464d0fe1c#commitcomment-38137801
@qth1991, you'll also need to load the kvm_intel module with nested=0