debuggers.hg

changeset 22824:d2a1e1e12667

xend: drbd: Revert 19444:152257350930

Remove some more "drbd" cruft from xend. This is not necessary for
drbd to work with Xen.

Requested-by: Jim Fehlig <jfehlig@novell.com>
Tested-by: Shriram Rajagopalan <rshriram@gmail.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Jim Fehlig <jfehlig@novell.com>
date Tue Jan 18 17:20:55 2011 +0000 (2011-01-18)
parents 1e7594758b28
children d1631540bcc4
files tools/python/xen/util/blkif.py
line diff
     1.1 --- a/tools/python/xen/util/blkif.py	Tue Jan 18 12:28:10 2011 +0000
     1.2 +++ b/tools/python/xen/util/blkif.py	Tue Jan 18 17:20:55 2011 +0000
     1.3 @@ -71,7 +71,7 @@ def _parse_uname(uname):
     1.4      if uname.find(":") != -1:
     1.5          (typ, fn) = uname.split(":", 1)
     1.6  
     1.7 -        if typ in ("phy", "drbd") and not fn.startswith("/"):
     1.8 +        if typ in ("phy") and not fn.startswith("/"):
     1.9              fn = "/dev/%s" %(fn,)
    1.10                 
    1.11          if typ in ("tap", "tap2"):