|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-ia64-devel
Re: [Xen-ia64-devel] Re: PATCH: vcpu hotplug
 
Le Jeudi 01 Juin 2006 04:37, Alex Williamson a écrit :
> 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,
Thank you.
I don't understand why I was able to boot on my system...
Tristan.
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- Re: [Xen-ia64-devel] Re: PATCH: vcpu hotplug,
Tristan Gingold <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |