ia64/xen-unstable

changeset 15000:da02af7b55b9

Fix PIFIsPhysical exception when starting Xend

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
author Tom Wilkie <tom.wilkie@gmail.com>
date Wed May 02 16:33:05 2007 +0100 (2007-05-02)
parents 2a530128f1dc
children 32b575a311ef
files tools/python/xen/xend/XendPIF.py
line diff
     1.1 --- a/tools/python/xen/xend/XendPIF.py	Tue May 01 11:40:40 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendPIF.py	Wed May 02 16:33:05 2007 +0100
     1.3 @@ -205,7 +205,7 @@ class XendPIF(XendBase):
     1.4          ifs = [dev for dev, _1, _2 in linux_get_phy_ifaces()]
     1.5          if pif.get_VLAN() == -1:
     1.6              if pif.get_device() not in ifs:
     1.7 -                pif.destroy()
     1.8 +                XendBase.destroy(self)
     1.9                  metrics.destroy()
    1.10                  return None
    1.11          else: