x86/vmx: declare nvmx_enqueue_n2_exceptions() static

Reduce the scope of nvmx_enqueue_n2_exceptions() to static because it is used
only in this file.

Take the opportunity to remove a trailing space.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Xenia Ragiadakou authored and Andrew Cooper committed 2023-02-27 15:51:23 +00:00
1 parent fdc25bd5da
commit 49b1cb2741
1 file changed
+1 -1
+1 -1
View File
@@ -1899,7 +1899,7 @@ static void cf_check vmx_update_guest_efer(struct vcpu *v)
vmx_set_msr_intercept(v, MSR_EFER, VMX_MSR_R);
}
void nvmx_enqueue_n2_exceptions(struct vcpu *v,
static void nvmx_enqueue_n2_exceptions(struct vcpu *v,
unsigned long intr_fields, int error_code, uint8_t source)
{
struct nestedvmx *nvmx = &vcpu_2_nvmx(v);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.