mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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:
1 parent
89c074e401
commit
8482630322
1 file changed
+1
-1
@@ -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"
|
||||
|
||||