mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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>
This commit is contained in:
1 parent
c4cc673510
commit
10f71216a1
1 file changed
+1
-1
@@ -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():
|
||||
|
||||