Hi all, In the context of our port on ARM (EmbeddedXEN project),I''m using an initial port from MontaVista which is based upon the PPC port. I''ve notice a strange statement in the file arch/ppc/setup.c (initialization time). Right after the creation of the domain 0, there is the following line: dom0->vcpu[0]->cpu_affinity = cpumask_of_cpu(0); But the vcpu pointer is initialized in the construct_domain0() function which is called afterwards. Therefore, the vcpu field is still NULL and leads to an oops. I''ve noticed that doing the port on ARM, but I wasn''t able to test that on a ppc architecture. I''m using xen 3.1.3 (I''ve noticed that the PPC port has disappeared in 3.3.x) Please could you explain me how it can work?? (I''ve checked the code for PPC , and I was not able to find a different behavior). Thanks in advance Daniel _______________________________________________ Xen-arm mailing list Xen-arm@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-arm
On 27/03/2009 16:19, "ROSSIER Daniel" <Daniel.Rossier@heig-vd.ch> wrote:> I''ve noticed that doing the port on ARM, but I wasn''t able to test that on a > ppc architecture. > > I''m using xen 3.1.3 (I''ve noticed that the PPC port has disappeared in 3.3.x) > > Please could you explain me how it can work?? (I''ve checked the code for PPC , > and I was not able to find a different behavior).The PPC port is dead (indeed has been deleted from the tree for some time) so it¹s unlikely anyone will be able to help you. Perhaps the arch/ppc code you are looking at is simply broken? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
ROSSIER Daniel
2009-Mar-27 16:41 UTC
[XenARM] RE: [Xen-devel] Weird initialization in PPC port
> -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: vendredi, 27. mars 2009 17:37 > To: ROSSIER Daniel; xen-devel@lists.xensource.com; xen- > arm@lists.xensource.com > Subject: Re: [Xen-devel] Weird initialization in PPC port > > On 27/03/2009 16:19, "ROSSIER Daniel" <Daniel.Rossier@heig-vd.ch> > wrote: > > > I''ve noticed that doing the port on ARM, but I wasn''t able to test > that on a > > ppc architecture. > > > > I''m using xen 3.1.3 (I''ve noticed that the PPC port has disappeared > in 3.3.x) > > > > Please could you explain me how it can work?? (I''ve checked the code > for PPC , > > and I was not able to find a different behavior). > > The PPC port is dead (indeed has been deleted from the tree for some > time) > so it¹s unlikely anyone will be able to help you. Perhaps the arch/ppc > code > you are looking at is simply broken?Ok, thanks. I suspect that the code never worked ;-)> > -- Keir >_______________________________________________ Xen-arm mailing list Xen-arm@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-arm