mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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@xen.org/
Fixes: f147ccf2b3 ("xen/consoled: clean up console handling for PV shim")
Reported-by: Julien Grall <julien@xen.org>
Signed-off-by: Denis Mukhin <dmukhin@ford.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
fc24430d97
commit
8dd642a479
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||