x86/paging: Use more specific constant

__HYPERVISOR_arch_1 and __HYPERVISOR_paging_domctl_cont for x86
have the same value but this function is handling
"paging_domctl_cont" hypercall so using the latter mnemonic in
the code is more clear.

Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Frediano Ziglio authored and Jan Beulich committed 2024-02-06 11:56:38 +01:00
1 parent 83afa31358
commit 80b01e20d0
1 file changed
+1 -1
+1 -1
View File
@@ -783,7 +783,7 @@ long do_paging_domctl_cont(
rcu_unlock_domain(d);
if ( ret == -ERESTART )
ret = hypercall_create_continuation(__HYPERVISOR_arch_1,
ret = hypercall_create_continuation(__HYPERVISOR_paging_domctl_cont,
"h", u_domctl);
else if ( __copy_field_to_guest(u_domctl, &op, u.shadow_op) )
ret = -EFAULT;
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.