diff options
| author | Jim Mattson <jmattson@google.com> | 2025-11-21 20:48:00 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-01-08 12:54:07 -0800 |
| commit | 6f4d3ebc24c6ef92e196ebbd389a3f2bfdc7a144 (patch) | |
| tree | 85410716224cf011efd60940c0e5f7a853a11ae2 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 8312f1b9dd71340b5fff65e56c6c163187bfa5d0 (diff) | |
KVM: SVM: Allow KVM_SET_NESTED_STATE to clear GIF when SVME==0
GIF==0 together with EFER.SVME==0 is a valid architectural
state. Don't return -EINVAL for KVM_SET_NESTED_STATE when this
combination is specified.
Fixes: cc440cdad5b7 ("KVM: nSVM: implement KVM_GET_NESTED_STATE and KVM_SET_NESTED_STATE")
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20251121204803.991707-2-yosry.ahmed@linux.dev
[sean: disallow KVM_STATE_NESTED_RUN_PENDING with SVME=0]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
