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