Module Name: src Committed By: bouyer Date: Sun May 3 17:24:11 UTC 2020
Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: For PVH and HVM, copy hvm_start_info.flags to xen_start_info.flags To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/arch/xen/xen/hypervisor.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/xen/xen/hypervisor.c diff -u src/sys/arch/xen/xen/hypervisor.c:1.79 src/sys/arch/xen/xen/hypervisor.c:1.80 --- src/sys/arch/xen/xen/hypervisor.c:1.79 Sat May 2 16:44:36 2020 +++ src/sys/arch/xen/xen/hypervisor.c Sun May 3 17:24:11 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: hypervisor.c,v 1.79 2020/05/02 16:44:36 bouyer Exp $ */ +/* $NetBSD: hypervisor.c,v 1.80 2020/05/03 17:24:11 bouyer Exp $ */ /* * Copyright (c) 2005 Manuel Bouyer. @@ -53,7 +53,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.79 2020/05/02 16:44:36 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.80 2020/05/03 17:24:11 bouyer Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -265,6 +265,7 @@ init_xen_early(void) (void *)((uintptr_t)hvm_start_info->cmdline_paddr + KERNBASE); strlcpy(xen_start_info.cmd_line, cmd_line, sizeof(xen_start_info.cmd_line)); + xen_start_info.flags = hvm_start_info->flags; }