4b4fa7f68d
21317-xend-blkif-util-tap2.patch suse-disable-tap2-default.patch - Match upstreams cpu pools switch from domctl to sysctl - Upstream replacements for two of our custom patches (to ease applying further backports) - Fixed dump-exec-state.patch (could previously hang the system, as could - with lower probability - the un-patched implementation) - bnc#593536 - xen hypervisor takes very long to initialize Dom0 on 128 CPUs and 256Gb 21272-x86-dom0-alloc-performance.patch 21266-vmx-disabled-check.patch 21271-x86-cache-flush-global.patch - bnc#558815 - using multiple npiv luns with same wwpn/wwnn broken - bnc#601104 - Xen /etc/xen/scripts/block-npiv script fails when accessing multiple disks using NPIV block-npiv - bnc#595124 - VT-d can not be enabled on 32PAE Xen on Nehalem-EX platform 21234-x86-bad-srat-clear-pxm2node.patch bnc#585371 - kdump fails to load with xen: locate_hole failed 21235-crashkernel-advanced.patch - bnc#588918 - Attaching a U-disk to domain's failed by "xm usb-attach" init.xend OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=44
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir.fraser@citrix.com>
|
|
# 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@novell.com>
|
|
|
|
Index: xen-4.0.0-testing/tools/python/xen/xend/XendConfig.py
|
|
===================================================================
|
|
--- xen-4.0.0-testing.orig/tools/python/xen/xend/XendConfig.py
|
|
+++ xen-4.0.0-testing/tools/python/xen/xend/XendConfig.py
|
|
@@ -1166,8 +1166,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
|