Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1378344 > unrolled thread

[PATCH v6 02/16] x86/xen: use X86_SUBARCH_XEN for PV guest boots

Started by"Luis R. Rodriguez" <mcgrof@kernel.org>
First post2016-04-14 02:10 +0200
Last post2016-04-14 02:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v6 02/16] x86/xen: use X86_SUBARCH_XEN for PV guest boots "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-04-14 02:10 +0200

#1378344 — [PATCH v6 02/16] x86/xen: use X86_SUBARCH_XEN for PV guest boots

From"Luis R. Rodriguez" <mcgrof@kernel.org>
Date2016-04-14 02:10 +0200
Subject[PATCH v6 02/16] x86/xen: use X86_SUBARCH_XEN for PV guest boots
Message-ID<rnD18-1fm-5@gated-at.bofh.it>
The use of subarch should have no current effect on Xen
PV guests, as such this should have no current functional
effects.

Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
---
 arch/x86/xen/enlighten.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 9b8f1eacc110..40487f1ecb4c 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1661,6 +1661,7 @@ asmlinkage __visible void __init xen_start_kernel(void)
 	boot_params.hdr.ramdisk_image = initrd_start;
 	boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
 	boot_params.hdr.cmd_line_ptr = __pa(xen_start_info->cmd_line);
+	boot_params.hdr.hardware_subarch = X86_SUBARCH_XEN;
 
 	if (!xen_initial_domain()) {
 		add_preferred_console("xenboot", 0, NULL);
-- 
2.7.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web