kvm icon indicating copy to clipboard operation
kvm copied to clipboard

how to add "spp=on" to enable spp feature

Open qth1991 opened this issue 5 years ago • 2 comments

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 ?

qth1991 avatar Mar 30 '20 02:03 qth1991

spp_supported is set if there is hardware support.

See this comment: https://github.com/KVM-VMI/kvm/commit/9d8e1279403d589fdb66e17a0dd9af6464d0fe1c#commitcomment-38137801

adlazar avatar Mar 30 '20 09:03 adlazar

@qth1991, you'll also need to load the kvm_intel module with nested=0

adlazar avatar Apr 23 '20 18:04 adlazar