On Wed, 2006-05-31 at 11:10 +0200, Tristan Gingold wrote:
> @@ -281,6 +282,9 @@ int arch_domain_create(struct domain *d)
>         if ((d->arch.mm.pgd = pgd_alloc(&d->arch.mm)) == NULL)
>             goto fail_nomem;
>  
> +       d->shared_info->arch.flags = (d == dom0) ?
> +               (SIF_INITDOMAIN|SIF_PRIVILEGED) : 0;
> + 

Hi Tristan,

   This seems to be the chunk that's giving me problems...

start_kernel()
    dom0 = domain_create(0, 0);

    domain_create()
        arch_domain_create()
            d->shared_info->arch.flags = (d == dom0) ? ...

Oops, can't test == dom0 yet.  My dom0 was trying to boot w/ flags ==
0x0.  If I hard code the above test, I can at least boot dom0.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

Reply via email to