Fix Bug 1253
PATCH 1/1 Fix Bug 1253
Hi,
This patch solves Bug 1253.
Haicheng, could you try this patch?
Signed-off-by Masaki Kanno <[email protected]>
Best regards,
Kan
tools/python/xen/xend/XendConfig.py +5 -4
@@ -1143,10 +1143,11 @@ class XendConfig(dict): if o_dev_type == 'vbd' or o_dev_type == 'tap': blkdev_file = blkdev_uname_to_file(dev_uname) o_dev_uname = sxp.child_value(o_dev_info, 'uname') - o_blkdev_file = blkdev_uname_to_file(o_dev_uname) - if blkdev_file == o_blkdev_file: - raise XendConfigError('The file "%s" is already used' % - blkdev_file) + if o_dev_uname != None: + o_blkdev_file = blkdev_uname_to_file(o_dev_uname) + if blkdev_file == o_blkdev_file: + raise XendConfigError('The file "%s" is already used' % + blkdev_file) o_blkdev_name = sxp.child_value(o_dev_info, 'dev') o_devid = self._blkdev_name_to_number(o_blkdev_name) if o_devid != None and devid == o_devid:
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 10 lines · Masaki Kanno
Hi,
This patch solves Bug 1253.
Haicheng, could you try this patch?
Signed-off-by Masaki Kanno <[email protected]>Best regards,
Kan
Bug 1253 is fixed by this patch, thanks.
-- haicheng
Quoted 7 lines · Haicheng
Quoted 6 lines · Masaki Kanno
Hi,
This patch solves Bug 1253.
Haicheng, could you try this patch?
Quoted 8 lines
Quoted 4 lines
Signed-off-by Masaki Kanno <[email protected]>Best regards,
KanBug 1253 is fixed by this patch, thanks.
-- haicheng
Hi Haicheng,
Thanks for your testing.
Kan