From: "Charles Arnold" Subject: [PATCH] Fix domU reboot failure when using "pci=" option Date: Wed, 03 Oct 2007 16:39:09 -0400 Message-ID: <4703A98D.5B74.0091.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part2C0A65FD.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=__Part2C0A65FD.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 --=__Part2C0A65FD.0__= Content-Type: text/plain; name="pci-passthru-reboot-fix.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="pci-passthru-reboot-fix.patch" diff -r 385b9b6bb61f tools/python/xen/xend/XendConfig.py --- a/tools/python/xen/xend/XendConfig.py Tue Oct 02 17:07:18 2007 = +0100 +++ b/tools/python/xen/xend/XendConfig.py Wed Oct 03 14:10:20 2007 = -0600 @@ -1461,7 +1461,7 @@ class XendConfig(dict): for dev_uuid in ordered_refs: dev_type, dev_info =3D target['devices'][dev_uuid] if dev_type =3D=3D 'pci': # special case for pci devices - sxpr =3D [['uuid', dev_info['uuid']]] + sxpr =3D ['pci', ['uuid', dev_info['uuid']]] for pci_dev_info in dev_info['devs']: pci_dev_sxpr =3D ['dev'] for opt, val in pci_dev_info.items(): --=__Part2C0A65FD.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part2C0A65FD.0__=--