Displaying 4 results from an estimated 4 matches for "blkdev_name_to_number".
2008 Jun 30
2
[PATCH] Fix the return value of blkdev_name_to_number
Fix the return value of blkdev_name_to_number().
- Function blkdev_name_to_number() should return both devname and
devnum,
otherwise it may cause "unpack non-sequence" error.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Best Regards,
-- Dongxiao
_______________________________________________
Xen-devel mailing lis...
2008 Jun 30
1
[PATCH] tools/python: fix TypeError for 17903:0728459b3c8d
Hi,
If `hda'' is used in a domain config file and domain-0 has /dev/hda,
creating the domain failed by TypeError:
File "//usr/lib/python/xen/xend/server/blkif.py", line 84, in
getDeviceDetails
(device_path, devid) = blkif.blkdev_name_to_number(dev)
TypeError: unpack non-sequence
Signed-off-by: KUWAMURA Shin''ya <kuwa@jp.fujitsu.com>
--
KUWAMURA Shin''ya
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2005 Nov 14
0
Xend fails to start on newly compiled xen dom0 kernel
...ackages/xen/xend/XendDomainInfo.py",
line 887, in create_configured_devices
self.createDevice(ctrl_type, dev_config)
File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 420, in createDevice
backdb[''physical-device''] = "%li" %
blkdev_name_to_number(node)
File
"/usr/lib/python2.4/site-packages/xen/util/blkif.py",
line 27, in blkdev_name_to_number
if re.match( ''/dev/sd[a-p]([1-9]|1[0-5])?'', n):
File "/usr/lib/python2.4/sre.py", line 129, in match
return _compile(pattern, flags).match(string)
Typ...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled
functionality into the qemu-dm code. The general approach taken is to have
qemu-dm provide two machine types - one for xen paravirt, the other for
fullyvirt. For compatability the later is the default. The goals overall
are to kill LibVNCServer, remove alot of code duplication and/or parallel
impls of the same concepts, and