WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Only panic() if the dom0 kernel requires an unknown feat

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Only panic() if the dom0 kernel requires an unknown feature flag.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Feb 2006 12:50:07 +0000
Delivery-date: Mon, 27 Feb 2006 12:50:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ian.Campbell@xxxxxxxxxxxxx
# Node ID f1e5b29dd15a18182ee08c3bd37e3a765d65a33a
# Parent  e480a5db8abbc9c4808e00b5cfc6dd40c6063d48
Only panic() if the dom0 kernel requires an unknown feature flag.

It is acceptable for a guest kernel to support (but not require)
a feature which the hypervisor does not understand.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>

diff -r e480a5db8abb -r f1e5b29dd15a xen/arch/x86/domain_build.c
--- a/xen/arch/x86/domain_build.c       Mon Feb 27 10:34:03 2006
+++ b/xen/arch/x86/domain_build.c       Mon Feb 27 10:55:13 2006
@@ -181,7 +181,8 @@
         {
             printk("Unknown kernel feature \"%.*s\".\n",
                    (int)(p-feats), feats);
-            panic("Domain 0 requires an unknown hypervisor feature.\n");
+            if ( req )
+                panic("Domain 0 requires an unknown hypervisor feature.\n");
         }
 
         feats = p;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Only panic() if the dom0 kernel requires an unknown feature flag., Xen patchbot -unstable <=