[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Force the devid given to destroyDevice to an integer. This means that that
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID e0ea9320c3513b78c3aca003ba904cb9d1798d41 # Parent 1ce76b214ce2c1a420ebd2b38052939400e20a1b Force the devid given to destroyDevice to an integer. This means that that method copes with the values given to xm network-detach without netif.py having to intervene. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r 1ce76b214ce2 -r e0ea9320c351 tools/python/xen/xend/server/DevController.py --- a/tools/python/xen/xend/server/DevController.py Sun Oct 30 15:35:06 2005 +++ b/tools/python/xen/xend/server/DevController.py Sun Oct 30 15:43:52 2005 @@ -74,6 +74,8 @@ other tasks on destruction. """ + devid = int(devid) + frontpath = self.frontendPath(devid) backpath = xstransact.Read(frontpath, "backend") _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |