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>
This commit is contained in:
Yosry Ahmed 2026-02-18 15:09:56 -08:00 • committed by Sean Christopherson
commit ef09eebc57