ia64/xen-unstable

changeset 16077:58db20a15687

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 <carnold@novell.com>
author Keir Fraser <keir@xensource.com>
date Mon Oct 08 10:46:45 2007 +0100 (2007-10-08)
parents 0c2535407828
children ff99e8da117f
files tools/python/xen/xend/XendConfig.py
line diff
     1.1 --- a/tools/python/xen/xend/XendConfig.py	Mon Oct 08 09:40:49 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendConfig.py	Mon Oct 08 10:46:45 2007 +0100
     1.3 @@ -1461,7 +1461,7 @@ class XendConfig(dict):
     1.4          for dev_uuid in ordered_refs:
     1.5              dev_type, dev_info = target['devices'][dev_uuid]
     1.6              if dev_type == 'pci': # special case for pci devices
     1.7 -                sxpr = [['uuid', dev_info['uuid']]]
     1.8 +                sxpr = ['pci', ['uuid', dev_info['uuid']]]
     1.9                  for pci_dev_info in dev_info['devs']:
    1.10                      pci_dev_sxpr = ['dev']
    1.11                      for opt, val in pci_dev_info.items():