KVM: nSVM: split out __nested_vmcb_check_controls
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Nov 2021 14:14:08 +0000 (09:14 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:24:40 +0000 (04:24 -0500)
commitbd95926c2b2b9b66013a36b6558aa426147ed11f
tree5f6ca775bccd1cd28e1136d87e862a0c04d33af5
parent355d0473b1a11d7cf526fbd43c3908224e08a909
KVM: nSVM: split out __nested_vmcb_check_controls

Remove the struct vmcb_control_area parameter from nested_vmcb_check_controls,
for consistency with the functions that operate on the save area.  This
way, VMRUN uses the version without underscores for both areas, while
KVM_SET_NESTED_STATE uses the version with underscores.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c