We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1655963 commit 46df66dCopy full SHA for 46df66d
arch/x86/xen/enlighten_pv.c
@@ -1204,6 +1204,11 @@ static void __init xen_dom0_set_legacy_features(void)
1204
x86_platform.legacy.rtc = 1;
1205
}
1206
1207
+static void __init xen_domu_set_legacy_features(void)
1208
+{
1209
+ x86_platform.legacy.rtc = 0;
1210
+}
1211
+
1212
/* First C function to be called on Xen boot */
1213
asmlinkage __visible void __init xen_start_kernel(void)
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 =
1368
(void *)((char *)xen_start_info +
0 commit comments