ia64/xen-unstable

changeset 14947:7d182aaa014b

xend: Tidy bootloader device constant.

In XendDomainInfo, BOOTLOADER_LOOPBACK_DEVICE is defined to be
'/dev/xvdp'. However, there is still one place in this file that has
'/dev/xvdp' hard-coded.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
author kfraser@localhost.localdomain
date Thu Apr 26 09:51:39 2007 +0100 (2007-04-26)
parents c7b1a866914c
children d26bdda2854e
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Wed Apr 25 22:56:09 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Thu Apr 26 09:51:39 2007 +0100
     1.3 @@ -1820,7 +1820,7 @@ class XendDomainInfo:
     1.4                      log.info("Unmounting %s from %s." %
     1.5                               (fn, BOOTLOADER_LOOPBACK_DEVICE))
     1.6  
     1.7 -                    dom0.destroyDevice('tap', '/dev/xvdp')
     1.8 +                    dom0.destroyDevice('tap', BOOTLOADER_LOOPBACK_DEVICE)
     1.9  
    1.10              if blcfg is None:
    1.11                  msg = "Had a bootloader specified, but can't find disk"