WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] Re: PATCH: vcpu hotplug

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] Re: PATCH: vcpu hotplug
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Thu, 1 Jun 2006 09:04:13 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Jun 2006 00:00:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1149129427.12367.57.camel@lappy>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200605311110.00098.Tristan.Gingold@xxxxxxxx> <1149129427.12367.57.camel@lappy>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
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 <=