[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xend: Fix xm pci-detach for inactive devices
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1243328589 -3600 # Node ID caa8c0e2d6f6dc939ce4e828ff49a87793bbd6d0 # Parent cc682927d12335d811e8ac07375123454baf6d84 xend: Fix xm pci-detach for inactive devices In the case where a device is attached to an inactive domain and then removed before the domain is activated it won't have a vslot assigned, but it should still be valid to remove it. I don't think that there are any other cases where vslot can be invalid. Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx> --- tools/python/xen/xend/XendDomainInfo.py | 3 --- 1 files changed, 3 deletions(-) diff -r cc682927d123 -r caa8c0e2d6f6 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Tue May 26 10:01:54 2009 +0100 +++ b/tools/python/xen/xend/XendDomainInfo.py Tue May 26 10:03:09 2009 +0100 @@ -1130,9 +1130,6 @@ class XendDomainInfo: if devnum >= pci_len: raise VmError("Device @ vslot 0x%x doesn't exist." % (vslot)) - if vslot == AUTO_PHP_SLOT: - raise VmError("Device @ vslot 0x%x doesn't support hotplug." % (vslot)) - # Check the co-assignment. # To pci-detach a device D from domN, we should ensure: for each DD in the # list of D's co-assignment devices, DD is not assigned (to domN). _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |