aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/domain_build.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-07-25 13:48:08 +0100
committerJan Beulich <jbeulich@novell.com>2011-07-25 13:48:08 +0100
commit63b9bf301796cf0f592aa6e35fe3f62b373eac99 (patch)
tree3a4db1067c32a0dbcff6551e1f5e2fa37da1bf08 /xen/arch/x86/domain_build.c
parent2e5a0460d5ee1214ed2b76e464ed9e411fa834e1 (diff)
downloadxen-63b9bf301796cf0f592aa6e35fe3f62b373eac99.tar.gz
xen-63b9bf301796cf0f592aa6e35fe3f62b373eac99.tar.bz2
xen-63b9bf301796cf0f592aa6e35fe3f62b373eac99.zip
fix regression from c/s 23735:537918f518ee
This was checking presence of the wrong (old) ELF note. I don't really understand how this failed consistently only for one of the xen-boot tests... Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/domain_build.c')
-rw-r--r--xen/arch/x86/domain_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/domain_build.c b/xen/arch/x86/domain_build.c
index 8d58291c33..d7697e562b 100644
--- a/xen/arch/x86/domain_build.c
+++ b/xen/arch/x86/domain_build.c
@@ -415,7 +415,7 @@ int __init construct_dom0(
return -EINVAL;
}
- if ( parms.elf_notes[XEN_ELFNOTE_FEATURES].type != XEN_ENT_NONE &&
+ if ( parms.elf_notes[XEN_ELFNOTE_SUPPORTED_FEATURES].type != XEN_ENT_NONE &&
!test_bit(XENFEAT_dom0, parms.f_supported) )
{
printk("Kernel does not support Dom0 operation\n");