Source-Changes-HG archive

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

[src/bouyer-xenpvh]: src/sys/arch/xen/xen fail silently if hypervisor is not ...



details:   https://anonhg.NetBSD.org/src/rev/be4d98063b11
branches:  bouyer-xenpvh
changeset: 982940:be4d98063b11
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Apr 16 17:47:37 2020 +0000

description:
fail silently if hypervisor is not found.

diffstat:

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

diffs (36 lines):

diff -r 544c2c042b25 -r be4d98063b11 sys/arch/xen/xen/hypervisor.c
--- a/sys/arch/xen/xen/hypervisor.c     Thu Apr 16 17:46:44 2020 +0000
+++ b/sys/arch/xen/xen/hypervisor.c     Thu Apr 16 17:47:37 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hypervisor.c,v 1.73.2.2 2020/04/11 21:21:16 bouyer Exp $ */
+/* $NetBSD: hypervisor.c,v 1.73.2.3 2020/04/16 17:47:37 bouyer Exp $ */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -53,7 +53,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.73.2.2 2020/04/11 21:21:16 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.73.2.3 2020/04/16 17:47:37 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -250,8 +250,6 @@
                vm_guest = VM_GUEST_XENPVHVM; /* Be more specific */
 
        } else {
-               aprint_normal("%s: Xen HVM mode not identified. Exiting.\n",
-                   haa->haa_busname);
                return 0;
        }
 
@@ -425,7 +423,7 @@
        bi.common.len = sizeof(struct btinfo_rootdevice);
 
        /* From i386/multiboot.c */
-       /*      $NetBSD: hypervisor.c,v 1.73.2.2 2020/04/11 21:21:16 bouyer Exp $       */
+       /*      $NetBSD: hypervisor.c,v 1.73.2.3 2020/04/16 17:47:37 bouyer Exp $       */
        int i, len;
        vaddr_t data;
        extern struct bootinfo  bootinfo;



Home | Main Index | Thread Index | Old Index