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)
1214
1214
x86_platform .legacy .rtc = 1 ;
1215
1215
}
1216
1216
1217
+ static void __init xen_domu_set_legacy_features (void )
1218
+ {
1219
+ x86_platform .legacy .rtc = 0 ;
1220
+ }
1221
+
1217
1222
/* First C function to be called on Xen boot */
1218
1223
asmlinkage __visible void __init xen_start_kernel (void )
1219
1224
{
@@ -1359,6 +1364,8 @@ asmlinkage __visible void __init xen_start_kernel(void)
1359
1364
add_preferred_console ("xenboot" , 0 , NULL );
1360
1365
if (pci_xen )
1361
1366
x86_init .pci .arch_init = pci_xen_init ;
1367
+ x86_platform .set_legacy_features =
1368
+ xen_domu_set_legacy_features ;
1362
1369
} else {
1363
1370
const struct dom0_vga_console_info * info =
1364
1371
(void * )((char * )xen_start_info +
You can’t perform that action at this time.
0 commit comments