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>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-04-26 09:51:39 +01:00
1 parent 89c074e401
commit 8482630322
1 file changed
+1 -1
+1 -1
View File
@@ -1820,7 +1820,7 @@ class XendDomainInfo:
log.info("Unmounting %s from %s." %
(fn, BOOTLOADER_LOOPBACK_DEVICE))
dom0.destroyDevice('tap', '/dev/xvdp')
dom0.destroyDevice('tap', BOOTLOADER_LOOPBACK_DEVICE)
if blcfg is None:
msg = "Had a bootloader specified, but can't find disk"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.