Skip to contentSkip to conversation

x86/monitor: don't open-code hvm_has_set_descriptor_access_exiting()

PATCH In review Jan Beulich 3 participants 4 messages Nov 30, 2021 – Dec 9, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/monitor: don't open-code hvm_has_set_descriptor_access_exiting()

xen/arch/x86/monitor.c +1 -1
@@ -263,7 +263,7 @@ int arch_monitor_domctl_event(struct dom
         if ( unlikely(old_status == requested_status) )
             return -EEXIST;
 
-        if ( !hvm_funcs.set_descriptor_access_exiting )
+        if ( !hvm_has_set_descriptor_access_exiting() )
             return -EOPNOTSUPP;
 
         domain_pause(d);
#2 lore raw
In reply to Jan Beulich
Quoted 1 line · Jan Beulich

May I ask for an ack (or otherwise) here please?

Thanks, Jan

Quoted 12 lines
xen/arch/x86/monitor.c +1 -1
@@ -263,7 +263,7 @@ int arch_monitor_domctl_event(struct dom
         if ( unlikely(old_status == requested_status) )
             return -EEXIST;
 
-        if ( !hvm_funcs.set_descriptor_access_exiting )
+        if ( !hvm_has_set_descriptor_access_exiting() )
             return -EOPNOTSUPP;
 
         domain_pause(d);
#3 lore raw
In reply to Jan Beulich
Quoted 7 lines · Jan Beulich

CAUTION: This email originated from outside of our organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Reviewed by: Alexandru Isaila <[email protected]>

Quoted 13 lines
xen/arch/x86/monitor.c +1 -1
@@ -263,7 +263,7 @@ int arch_monitor_domctl_event(struct dom
        if ( unlikely(old_status == requested_status) )
            return -EEXIST;
 
-        if ( !hvm_funcs.set_descriptor_access_exiting )
+        if ( !hvm_has_set_descriptor_access_exiting() )
            return -EOPNOTSUPP;
 
        domain_pause(d);