> -- Pasi
>
>> 2010/5/30 Pasi Kärkkäinen <[1]
pasik@xxxxxx>
>>
>> On Sun, May 30, 2010 at 11:17:51AM +0400, eXeC001er wrote:
>>> I've attempted to install Nexenta Core 3 image under Xen 4.0
>> (2.6.32.13
>>> pvops) on top of F13. Sample nexenta3.cfg profile contains 4
>> lines like
>>> this:-
>>>
>>> disk=['tat:tapdisk:vhd:/path/../disk.img,xvda,w'] ( from sample)
>>>
>>> It generates message
>>> Â File 'vhd:/path/.../disk.img' doesn't exist.
>>>
>>> Boris.
>>> P.S. It was already in one of the threads @xen-users.
>>>
>>> This bug in "def _parse_uname(uname):"
>> (tools/python/xen/util/blkif.py)
>>> (taptype, fn) = fn.split(":", 1) >>>>>>Â (taptype, fn) =
>> fn.split(":",
>>> 2)[1:3]
>>
>> Can you send a proper patch, as unified diff (diff -u), with a
>> Signed-off-by line?
>> -- Pasi
>>
>> References
>>
>> Visible links
>> 1. mailto:
pasik@xxxxxx
>
>> diff -r d0420ab97345 tools/python/xen/util/blkif.py
>> --- a/tools/python/xen/util/blkif.py Fri May 21 16:21:39 2010 +0100
>> +++ b/tools/python/xen/util/blkif.py Sat May 22 01:21:15 2010 +0400
>> @@ -87,7 +87,7 @@
>> fn = "/dev/%s" %(fn,)
>>
>> if typ in ("tap", "tap2"):
>> - (taptype, fn) = fn.split(":", 1)
>> + (taptype, fn) = fn.split(":", 2)[1:]
>> return (fn, taptype)
>>
>> def blkdev_uname_to_file(uname):
>> diff -r d0420ab97345 tools/python/xen/xend/XendDomainInfo.py
>> --- a/tools/python/xen/xend/XendDomainInfo.py Fri May 21 16:21:39 2010 +0100
>> +++ b/tools/python/xen/xend/XendDomainInfo.py Sat May 22 01:21:15 2010 +0400
>> @@ -3292,6 +3292,7 @@
>> fn = BOOTLOADER_LOOPBACK_DEVICE
>>
>> try:
>> + time.sleep(5)
>> blcfg = bootloader(blexec, fn, self, False,
>> bootloader_args, kernel, ramdisk, args)
>> finally:
>> @@ -3299,7 +3300,7 @@
>>
log.info("Unmounting %s from %s." %
>> (fn, BOOTLOADER_LOOPBACK_DEVICE))
>>
>> - dom0.destroyDevice('tap', BOOTLOADER_LOOPBACK_DEVICE)
>> + dom0.destroyDevice(devtype, BOOTLOADER_LOOPBACK_DEVICE)
>>
>> if blcfg is None:
>> msg = "Had a bootloader specified, but can't find disk"
>