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:
Keir Fraser committed 2007-10-08 10:46:45 +01:00
1 parent c4cc673510
commit 10f71216a1
1 file changed
+1 -1
+1 -1
View File
@@ -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():
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.