ia64/xen-unstable

changeset 9038:f1e5b29dd15a

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@xensource.com>
author Ian.Campbell@xensource.com
date Mon Feb 27 10:55:13 2006 +0000 (2006-02-27)
parents e480a5db8abb
children c823e60207f0
files xen/arch/x86/domain_build.c
line diff
     1.1 --- a/xen/arch/x86/domain_build.c	Mon Feb 27 10:34:03 2006 +0000
     1.2 +++ b/xen/arch/x86/domain_build.c	Mon Feb 27 10:55:13 2006 +0000
     1.3 @@ -181,7 +181,8 @@ static void parse_features(
     1.4          {
     1.5              printk("Unknown kernel feature \"%.*s\".\n",
     1.6                     (int)(p-feats), feats);
     1.7 -            panic("Domain 0 requires an unknown hypervisor feature.\n");
     1.8 +            if ( req )
     1.9 +                panic("Domain 0 requires an unknown hypervisor feature.\n");
    1.10          }
    1.11  
    1.12          feats = p;