* [PATCH] xen/domain: fix late hwdom feature
@ 2025-06-10 23:42 dmkhn
2025-06-11 9:20 ` Jan Beulich
0 siblings, 1 reply; 3+ messages in thread
From: dmkhn @ 2025-06-10 23:42 UTC (permalink / raw)
To: xen-devel
Cc: andrew.cooper3, anthony.perard, jbeulich, julien, michal.orzel,
roger.pau, sstabellini, dmukhin
From: Denis Mukhin <dmukhin@ford.com>
Fix get_initial_domain_id() which how returns hardware_domid and breaks late
hwdom feature [1].
[1] https://lore.kernel.org/xen-devel/a4c860d7-1fa0-43f4-8ae1-af59b7c6506f@xen.org/
Fixes: f147ccf2 ("xen/consoled: clean up console handling for PV shim")
Signed-off-by: Denis Mukhin <dmukhin@ford.com>
---
xen/common/domain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/common/domain.c b/xen/common/domain.c
index 153cd75340..e566a18747 100644
--- a/xen/common/domain.c
+++ b/xen/common/domain.c
@@ -2404,7 +2404,7 @@ domid_t get_initial_domain_id(void)
if ( pv_shim )
return pv_shim_get_initial_domain_id();
#endif
- return hardware_domid;
+ return 0;
}
void freeze_domains(void)
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] xen/domain: fix late hwdom feature
2025-06-10 23:42 [PATCH] xen/domain: fix late hwdom feature dmkhn
@ 2025-06-11 9:20 ` Jan Beulich
2025-06-13 1:08 ` dmkhn
0 siblings, 1 reply; 3+ messages in thread
From: Jan Beulich @ 2025-06-11 9:20 UTC (permalink / raw)
To: dmkhn
Cc: andrew.cooper3, anthony.perard, julien, michal.orzel, roger.pau,
sstabellini, dmukhin, xen-devel
On 11.06.2025 01:42, dmkhn@proton.me wrote:
> From: Denis Mukhin <dmukhin@ford.com>
>
> Fix get_initial_domain_id() which how returns hardware_domid and breaks late
> hwdom feature [1].
>
> [1] https://lore.kernel.org/xen-devel/a4c860d7-1fa0-43f4-8ae1-af59b7c6506f@xen.org/
>
Reported-by: Julien Grall <julien@xen.org>
> Fixes: f147ccf2 ("xen/consoled: clean up console handling for PV shim")
12 hex digit please (see sending-patches.pandoc), i.e. f147ccf2b3c8 (largely for
my own reference, to make respective adjustments while committing).
> Signed-off-by: Denis Mukhin <dmukhin@ford.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] xen/domain: fix late hwdom feature
2025-06-11 9:20 ` Jan Beulich
@ 2025-06-13 1:08 ` dmkhn
0 siblings, 0 replies; 3+ messages in thread
From: dmkhn @ 2025-06-13 1:08 UTC (permalink / raw)
To: Jan Beulich
Cc: andrew.cooper3, anthony.perard, julien, michal.orzel, roger.pau,
sstabellini, dmukhin, xen-devel
On Wed, Jun 11, 2025 at 11:20:29AM +0200, Jan Beulich wrote:
> On 11.06.2025 01:42, dmkhn@proton.me wrote:
> > From: Denis Mukhin <dmukhin@ford.com>
> >
> > Fix get_initial_domain_id() which how returns hardware_domid and breaks late
> > hwdom feature [1].
> >
> > [1] https://lore.kernel.org/xen-devel/a4c860d7-1fa0-43f4-8ae1-af59b7c6506f@xen.org/
> >
>
> Reported-by: Julien Grall <julien@xen.org>
>
> > Fixes: f147ccf2 ("xen/consoled: clean up console handling for PV shim")
>
> 12 hex digit please (see sending-patches.pandoc), i.e. f147ccf2b3c8 (largely for
> my own reference, to make respective adjustments while committing).
Thanks; my .gitcofig did not have core.abbrev configured.
>
> > Signed-off-by: Denis Mukhin <dmukhin@ford.com>
>
> Acked-by: Jan Beulich <jbeulich@suse.com>
Thank you
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-13 1:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10 23:42 [PATCH] xen/domain: fix late hwdom feature dmkhn
2025-06-11 9:20 ` Jan Beulich
2025-06-13 1:08 ` dmkhn
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.