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 @@ -1204,6 +1204,11 @@ static void __init xen_dom0_set_legacy_features(void)
1204
1204
x86_platform .legacy .rtc = 1 ;
1205
1205
}
1206
1206
1207
+ static void __init xen_domu_set_legacy_features (void )
1208
+ {
1209
+ x86_platform .legacy .rtc = 0 ;
1210
+ }
1211
+
1207
1212
/* First C function to be called on Xen boot */
1208
1213
asmlinkage __visible void __init xen_start_kernel (void )
1209
1214
{
@@ -1356,6 +1361,8 @@ asmlinkage __visible void __init xen_start_kernel(void)
1356
1361
add_preferred_console ("xenboot" , 0 , NULL );
1357
1362
if (pci_xen )
1358
1363
x86_init .pci .arch_init = pci_xen_init ;
1364
+ x86_platform .set_legacy_features =
1365
+ xen_domu_set_legacy_features ;
1359
1366
} else {
1360
1367
const struct dom0_vga_console_info * info =
1361
1368
(void * )((char * )xen_start_info +
You can’t perform that action at this time.
0 commit comments