Skip to contentSkip to conversation

xen/domain: fix late hwdom feature

PATCH In review [email protected] 2 participants 3 messages Jun 10, 2025 – Jun 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/domain: fix late hwdom feature

From: Denis Mukhin <[email protected]>

Fix get_initial_domain_id() which how returns hardware_domid and breaks late hwdom feature [1].

[1] https://lore.kernel.org/xen-devel/[email protected]/

Fixes f147ccf2 ("xen/consoled: clean up console handling for PV shim")
---
 xen/common/domain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/common/domain.c +1 -1
index 153cd75340..e566a18747 100644
@@ -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)
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · On 11.06.2025 01:42, [email protected] wrote:

From: Denis Mukhin <[email protected]>

Fix get_initial_domain_id() which how returns hardware_domid and breaks late hwdom feature [1].

[1] https://lore.kernel.org/xen-devel/[email protected]/

Quoted 1 line
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).

Quoted 1 line
#2 lore raw
Quoted 9 lines · Jan Beulich
Quoted 7 lines · On 11.06.2025 01:42, [email protected] wrote:

From: Denis Mukhin <[email protected]>

Fix get_initial_domain_id() which how returns hardware_domid and breaks late hwdom feature [1].

[1] https://lore.kernel.org/xen-devel/[email protected]/

Quoted 6 lines
Quoted 1 line
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.

Quoted 4 lines
Quoted 2 lines

Thank you

Quoted 1 line