aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Wilkie <tom.wilkie@gmail.com>2007-05-02 16:33:05 +0100
committerTom Wilkie <tom.wilkie@gmail.com>2007-05-02 16:33:05 +0100
commit2623ab58fe15b305d22cb39277d0181c6684a987 (patch)
treefb74db6d2d9640097f0209c1737ad0725976d7aa
parentf48f5ded45d7c0370571fe45d6225892027e31bb (diff)
downloadxen-2623ab58fe15b305d22cb39277d0181c6684a987.tar.gz
xen-2623ab58fe15b305d22cb39277d0181c6684a987.tar.bz2
xen-2623ab58fe15b305d22cb39277d0181c6684a987.zip
Fix PIFIsPhysical exception when starting Xend
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
-rw-r--r--tools/python/xen/xend/XendPIF.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendPIF.py b/tools/python/xen/xend/XendPIF.py
index 3ab84606a9..063394890d 100644
--- a/tools/python/xen/xend/XendPIF.py
+++ b/tools/python/xen/xend/XendPIF.py
@@ -205,7 +205,7 @@ class XendPIF(XendBase):
ifs = [dev for dev, _1, _2 in linux_get_phy_ifaces()]
if pif.get_VLAN() == -1:
if pif.get_device() not in ifs:
- pif.destroy()
+ XendBase.destroy(self)
metrics.destroy()
return None
else: