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

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.