[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xen/domain: fix late hwdom feature
commit 8dd642a4792a61fac8084c6bf7244602e7220d7a Author: Denis Mukhin <dmukhin@xxxxxxxx> AuthorDate: Thu Jun 12 14:45:41 2025 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Jun 12 14:45:41 2025 +0200 xen/domain: fix late hwdom feature Fix get_initial_domain_id() which returns hardware_domid and thus breaks late hwdom feature [1]. [1] https://lore.kernel.org/xen-devel/a4c860d7-1fa0-43f4-8ae1-af59b7c6506f@xxxxxxx/ Fixes: f147ccf2b3c8 ("xen/consoled: clean up console handling for PV shim") Reported-by: Julien Grall <julien@xxxxxxx> Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- 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) -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |