]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: nSVM: Use vmcb12_is_intercept() in nested_sync_control_from_vmcb02()
authorYosry Ahmed <yosry.ahmed@linux.dev>
Wed, 18 Feb 2026 23:09:56 +0000 (15:09 -0800)
committerSean Christopherson <seanjc@google.com>
Thu, 5 Mar 2026 00:09:01 +0000 (16:09 -0800)
commitef09eebc5736add3415b6efb009fdb7c47a504c7
treec1031d7ec963c76f2452f0fd4f2273deee55eee6
parent586160b750914d5bd636f395a2ba9248c6f346e5
KVM: nSVM: Use vmcb12_is_intercept() in nested_sync_control_from_vmcb02()

Use vmcb12_is_intercept() instead of open-coding the intercept check.

No functional change intended.

Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20260218230958.2877682-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/nested.c