Bug 334821
Summary: | [RHEL 5.2] Xen 3.1.1 Prevent migration with attached PCI devices | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Cole Robinson <crobinso> | ||||||||
Component: | xen | Assignee: | Michal Novotny <minovotn> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||
Severity: | low | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 5.1 | CC: | areis, jdenemar, llim, xen-maint | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | xen-3.0.3-85.el5 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2009-09-02 10:09:48 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 492190 | ||||||||||
Attachments: |
|
Description
Cole Robinson
2007-10-16 17:08:36 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. This request was previously evaluated by Red Hat Product Management for inclusion in the current Red Hat Enterprise Linux release, but Red Hat was unable to resolve it in time. This request will be reviewed for a future Red Hat Enterprise Linux release. Created attachment 334484 [details] Xen migration with attached PCI devices patch This is a patch to prevent Xen migration with attached PCI devices and also passing this information to user. It's a backport of upstream at http://xenbits.xensource.com/xen-3.1-testing.hg?rev/15af4202c910 and http://xenbits.xensource.com/xen-3.1-testing.hg?rev/1b4954867329 . Created attachment 341790 [details]
Xen migration with attached PCI devices patch
Adjusted to apply cleanly with no hard tabs
Fix built into xen-3.0.3-84.el5 Created attachment 341903 [details]
Fixed patch preventing migrations of domains with attached PCI devices
The original patch would cause leaks of open file descriptors as the
os.close(fd) call after the try..except block is unreachable.
There are two possible ways of fixing that. Either remove the second hunk of
the patch and let the code be
try:
return XendCheckpoint.save(...)
finally:
os.close(fd)
or expand the finally statement (like the original patch did) and remove the
return keyword.
While expanding the finally statement is a stupid thing to do, I decided to
fix it that way to match upstream. The return keyword was removed upstream as
a tiny part of huge c/s 12071.
Fix built into xen-3.0.3-85.el5 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1328.html |