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{
@@ -1375,6 +1380,8 @@ asmlinkage __visible void __init xen_start_kernel(void)
13751380 add_preferred_console ("hvc" , 0 , NULL );
13761381 if (pci_xen )
13771382 x86_init .pci .arch_init = pci_xen_init ;
1383+ x86_platform .set_legacy_features =
1384+ xen_domu_set_legacy_features ;
13781385 } else {
13791386 const struct dom0_vga_console_info * info =
13801387 (void * )((char * )xen_start_info +
You can’t perform that action at this time.
0 commit comments