* [PATCH] XSM: correct xsm_get_domain_state()
@ 2025-03-06 14:16 Jan Beulich
2025-03-06 14:18 ` Andrew Cooper
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jan Beulich @ 2025-03-06 14:16 UTC (permalink / raw)
To: xen-devel@lists.xenproject.org
Cc: Daniel Smith, Andrew Cooper, Julien Grall, Stefano Stabellini,
Anthony PERARD, Michal Orzel, Roger Pau Monné, Juergen Gross
Add the missing first parameter and move it next to a close relative.
Fixes: 3ad3df1bd0aa ("xen: add new domctl get_domain_state")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/include/xsm/xsm.h
+++ b/xen/include/xsm/xsm.h
@@ -231,6 +231,11 @@ static inline int xsm_getdomaininfo(xsm_
return alternative_call(xsm_ops.getdomaininfo, d);
}
+static inline int xsm_get_domain_state(xsm_default_t def, struct domain *d)
+{
+ return alternative_call(xsm_ops.get_domain_state, d);
+}
+
static inline int xsm_domctl_scheduler_op(
xsm_default_t def, struct domain *d, int cmd)
{
@@ -775,11 +780,6 @@ static inline int xsm_argo_send(const st
#endif /* CONFIG_ARGO */
-static inline int xsm_get_domain_state(struct domain *d)
-{
- return alternative_call(xsm_ops.get_domain_state, d);
-}
-
#endif /* XSM_NO_WRAPPERS */
#ifdef CONFIG_MULTIBOOT
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] XSM: correct xsm_get_domain_state()
2025-03-06 14:16 [PATCH] XSM: correct xsm_get_domain_state() Jan Beulich
@ 2025-03-06 14:18 ` Andrew Cooper
2025-03-06 14:23 ` Daniel P. Smith
2025-03-06 14:38 ` Jürgen Groß
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Cooper @ 2025-03-06 14:18 UTC (permalink / raw)
To: Jan Beulich, xen-devel@lists.xenproject.org
Cc: Daniel Smith, Julien Grall, Stefano Stabellini, Anthony PERARD,
Michal Orzel, Roger Pau Monné, Juergen Gross
On 06/03/2025 2:16 pm, Jan Beulich wrote:
> Add the missing first parameter and move it next to a close relative.
>
> Fixes: 3ad3df1bd0aa ("xen: add new domctl get_domain_state")
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] XSM: correct xsm_get_domain_state()
2025-03-06 14:16 [PATCH] XSM: correct xsm_get_domain_state() Jan Beulich
2025-03-06 14:18 ` Andrew Cooper
@ 2025-03-06 14:23 ` Daniel P. Smith
2025-03-06 14:38 ` Jürgen Groß
2 siblings, 0 replies; 4+ messages in thread
From: Daniel P. Smith @ 2025-03-06 14:23 UTC (permalink / raw)
To: Jan Beulich, xen-devel@lists.xenproject.org
Cc: Andrew Cooper, Julien Grall, Stefano Stabellini, Anthony PERARD,
Michal Orzel, Roger Pau Monné, Juergen Gross
On 3/6/25 09:16, Jan Beulich wrote:
> Add the missing first parameter and move it next to a close relative.
>
> Fixes: 3ad3df1bd0aa ("xen: add new domctl get_domain_state")
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] XSM: correct xsm_get_domain_state()
2025-03-06 14:16 [PATCH] XSM: correct xsm_get_domain_state() Jan Beulich
2025-03-06 14:18 ` Andrew Cooper
2025-03-06 14:23 ` Daniel P. Smith
@ 2025-03-06 14:38 ` Jürgen Groß
2 siblings, 0 replies; 4+ messages in thread
From: Jürgen Groß @ 2025-03-06 14:38 UTC (permalink / raw)
To: Jan Beulich, xen-devel@lists.xenproject.org
Cc: Daniel Smith, Andrew Cooper, Julien Grall, Stefano Stabellini,
Anthony PERARD, Michal Orzel, Roger Pau Monné
[-- Attachment #1.1.1: Type: text/plain, Size: 359 bytes --]
On 06.03.25 15:16, Jan Beulich wrote:
> Add the missing first parameter and move it next to a close relative.
>
> Fixes: 3ad3df1bd0aa ("xen: add new domctl get_domain_state")
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Juergen Gross <jgross@suse.com>
With this patch you can ignore my patch just sent out, I guess. :-)
Juergen
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3743 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-03-06 14:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-06 14:16 [PATCH] XSM: correct xsm_get_domain_state() Jan Beulich
2025-03-06 14:18 ` Andrew Cooper
2025-03-06 14:23 ` Daniel P. Smith
2025-03-06 14:38 ` Jürgen Groß
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.