|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XenPPC] [xenppc-unstable] [TOOLS][POWERPC] use python "quad" encoding for 2 cell devtree values
The following changeset should fix the issue with DomU >=2G where our python devtree code can only handle ints and math from a 2G value promotes the type to long which before this patch we could not encode. Please test on larger systems. -JX On Oct 18, 2006, at 4:20 PM, Xen patchbot-xenppc-unstable wrote: # HG changeset patch # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx> # Node ID d18a0c0b77d7004631559d4e2f9d31744fe9b34a # Parent ece7037c72c6b7944ede2261ec1fe99c1489cff4 [TOOLS][POWERPC] use python "quad" encoding for 2 cell devtree values When creating a 2G DomU pyhton chokes when it sees a long type. If a value is of type long, or promoted to long it should be "packed" as a quad. Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx> --- tools/python/xen/xend/FlatDeviceTree.py | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-)diff -r ece7037c72c6 -r d18a0c0b77d7 tools/python/xen/xend/ FlatDeviceTree.py --- a/tools/python/xen/xend/FlatDeviceTree.py Wed Oct 18 11:29:57 2006 -0400 +++ b/tools/python/xen/xend/FlatDeviceTree.py Wed Oct 18 16:07:33 2006 -0400 _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |