diff options
author | Tom Wilkie <tom.wilkie@gmail.com> | 2007-05-02 16:33:05 +0100 |
---|---|---|
committer | Tom Wilkie <tom.wilkie@gmail.com> | 2007-05-02 16:33:05 +0100 |
commit | 2623ab58fe15b305d22cb39277d0181c6684a987 (patch) | |
tree | fb74db6d2d9640097f0209c1737ad0725976d7aa | |
parent | f48f5ded45d7c0370571fe45d6225892027e31bb (diff) | |
download | xen-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.py | 2 |
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: |