Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/xen/xen For PVH and HVM, copy hvm_start_info.flags ...



details:   https://anonhg.NetBSD.org/src/rev/eccd106ca08d
branches:  trunk
changeset: 932266:eccd106ca08d
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun May 03 17:24:11 2020 +0000

description:
For PVH and HVM, copy hvm_start_info.flags to xen_start_info.flags

diffstat:

 sys/arch/xen/xen/hypervisor.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 6de532b6200b -r eccd106ca08d sys/arch/xen/xen/hypervisor.c
--- a/sys/arch/xen/xen/hypervisor.c     Sun May 03 17:23:14 2020 +0000
+++ b/sys/arch/xen/xen/hypervisor.c     Sun May 03 17:24:11 2020 +0000
@@ -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 @@
            (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;
 }
 
 



Home | Main Index | Thread Index | Old Index