|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend: Tidy bootloader device constant.
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1177577499 -3600
# Node ID 7d182aaa014b704ea9c51c078f92f3a9861c42f1
# Parent c7b1a866914c11e46f23f0537ecf616be42e1711
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@xxxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r c7b1a866914c -r 7d182aaa014b tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Wed Apr 25 22:56:09 2007 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py Thu Apr 26 09:51:39 2007 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xend: Tidy bootloader device constant.,
Xen patchbot-unstable <=
|
|
|
|
|