aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/pvh/enlighten.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/platform/pvh/enlighten.c')
-rw-r--r--arch/x86/platform/pvh/enlighten.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/platform/pvh/enlighten.c b/arch/x86/platform/pvh/enlighten.c
index 944e0290f2c00..8c2d4b8de25d4 100644
--- a/arch/x86/platform/pvh/enlighten.c
+++ b/arch/x86/platform/pvh/enlighten.c
@@ -75,6 +75,9 @@ static void __init init_pvh_bootparams(bool xen_guest)
} else
xen_raw_printk("Warning: Can fit ISA range into e820\n");
+ if (xen_guest)
+ xen_reserve_extra_memory(&pvh_bootparams);
+
pvh_bootparams.hdr.cmd_line_ptr =
pvh_start_info.cmdline_paddr;