direct-io.hg
changeset 7559:e0ea9320c351
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@xensource.com>
method copes with the values given to xm network-detach without netif.py having
to intervene.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author | emellor@leeni.uk.xensource.com |
---|---|
date | Sun Oct 30 16:43:52 2005 +0100 (2005-10-30) |
parents | 1ce76b214ce2 |
children | f3ebb4d6baab |
files | tools/python/xen/xend/server/DevController.py |
line diff
1.1 --- a/tools/python/xen/xend/server/DevController.py Sun Oct 30 16:35:06 2005 +0100 1.2 +++ b/tools/python/xen/xend/server/DevController.py Sun Oct 30 16:43:52 2005 +0100 1.3 @@ -74,6 +74,8 @@ class DevController: 1.4 other tasks on destruction. 1.5 """ 1.6 1.7 + devid = int(devid) 1.8 + 1.9 frontpath = self.frontendPath(devid) 1.10 backpath = xstransact.Read(frontpath, "backend") 1.11