[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xend: don't drop device config on domain start failure
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1271925757 -3600 # Node ID 5b72f9832cc21ebdbbd8569836578817353314d8 # Parent 11d20f17f82c1c6fc6c003c363835a964338b311 xend: don't drop device config on domain start failure If domain creation in xend fails before devices are configured, e.g. insufficient memory, device config is dropped from xend's managed domain config. Once xend is restarted, the domain's devices are lost. This patch fixes a bug in XendConfig where only the device controller was consulted for device configuration. Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx> --- tools/python/xen/xend/XendConfig.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 11d20f17f82c -r 5b72f9832cc2 tools/python/xen/xend/XendConfig.py --- a/tools/python/xen/xend/XendConfig.py Thu Apr 22 09:41:36 2010 +0100 +++ b/tools/python/xen/xend/XendConfig.py Thu Apr 22 09:42:37 2010 +0100 @@ -1171,8 +1171,8 @@ class XendConfig(dict): config.append(['VDI', dev_cfg.get('VDI', '')]) sxpr.append(['device', config]) - - found = True + found = True + except: log.exception("dumping sxp from device controllers") pass _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |