File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1214,6 +1214,11 @@ static void __init xen_dom0_set_legacy_features(void)
12141214 x86_platform .legacy .rtc = 1 ;
12151215}
12161216
1217+ static void __init xen_domu_set_legacy_features (void )
1218+ {
1219+ x86_platform .legacy .rtc = 0 ;
1220+ }
1221+
12171222/* First C function to be called on Xen boot */
12181223asmlinkage __visible void __init xen_start_kernel (void )
12191224{
@@ -1359,6 +1364,8 @@ asmlinkage __visible void __init xen_start_kernel(void)
13591364 add_preferred_console ("xenboot" , 0 , NULL );
13601365 if (pci_xen )
13611366 x86_init .pci .arch_init = pci_xen_init ;
1367+ x86_platform .set_legacy_features =
1368+ xen_domu_set_legacy_features ;
13621369 } else {
13631370 const struct dom0_vga_console_info * info =
13641371 (void * )((char * )xen_start_info +
You can’t perform that action at this time.
0 commit comments