[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenARM] Weird initialization in PPC port



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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.