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-devel

[Xen-users] domu crash on reboot, cpus reparsed -- SOLVED

To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] domu crash on reboot, cpus reparsed -- SOLVED
From: Daniele Palumbo <daniele.palumbo@xxxxxxxxxxxxxxxxx>
Date: Wed, 24 Jan 2007 15:48:55 +0100
Delivery-date: Thu, 25 Jan 2007 01:55:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: CCIB
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Ten: 314
User-agent: KMail/1.9.4
hi.
this is true in 3.0.4, i think also in unstable but not sure.

when i reboot a domu, cpus is re-parsed.
but "list" type have no "split" attribute:
---
  File "/usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 556, in
_parse_sxp
    cpus = []
AttributeError: 'list' object has no attribute 'split'
---

so, i made a little patch, including that one:
http://lists.xensource.com/archives/html/xen-devel/2007-01/msg00599.html

the point is:
if(cfg[cpus]) is a list, then skip next code.

seems to work for me, no crash and cpus parsed correctly.
it's up to you to close the bug i have opened
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=874
or to make a better patch :)

bye
d.

p.s.: is bugzilla alive?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] domu crash on reboot, cpus reparsed -- SOLVED, Daniele Palumbo <=