Skip to contentSkip to conversation

Fix domU reboot failure when using "pci=" option

PATCH New Charles Arnold 1 participant 1 message Oct 3, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

tools/python/xen/xend/XendConfig.py +1 -1
diff -r 385b9b6bb61f 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():

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel