From: Keir Fraser Date: Mon, 8 Oct 2007 09:46:45 +0000 (+0100) Subject: Fix domU reboot failure when using "pci=" option X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14904 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=10f71216a1d3b80ec21a893fabfaaec9355e2180;p=xen.git Fix domU reboot failure when using "pci=" option The failure only happens on the second or later auto reboot. See the following thread for a long discussion on this issue where most problems were fixed. http://lists.xensource.com/archives/html/xen-users/2006-05/msg00154.html Signed-off-by: Charles Arnold --- diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 9a1e1da47b..9e49c4a68e 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -1461,7 +1461,7 @@ class XendConfig(dict): for dev_uuid in ordered_refs: dev_type, dev_info = target['devices'][dev_uuid] if dev_type == 'pci': # special case for pci devices - sxpr = [['uuid', dev_info['uuid']]] + sxpr = ['pci', ['uuid', dev_info['uuid']]] for pci_dev_info in dev_info['devs']: pci_dev_sxpr = ['dev'] for opt, val in pci_dev_info.items():