tidy bootloader device constant
PATCH 1/1 tidy bootloader device constant
I notice that 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. The attached patch cleans this up.
Signed-off-by Charles Coffing <[email protected]>
tools/python/xen/xend/XendDomainInfo.py +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"
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel