Xu, Dongxiao
2008-Jun-30 09:13 UTC
[Xen-devel][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 list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
YuLin @ wr
2008-Jun-30 12:49 UTC
Re: [Xen-devel][PATCH] Fix the return value of blkdev_name_to_number
hi, Maybe you should list the position where there is a problem of "unpack non-sequence" about blkdev_name_to_number I only found some usages of blkdev_name_to_number which only accept one return value, and the left value is not a tuple apparently. Best Regards, -- YuLin On Mon, Jun 30, 2008 at 5:13 PM, Xu, Dongxiao <dongxiao.xu@intel.com> wrote:> 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 list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >-- Best Regards, -- Lin.Yu _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Chris Lalancette
2008-Jun-30 13:10 UTC
Re: [Xen-devel][PATCH] Fix the return value of blkdev_name_to_number
YuLin @ wr wrote:> hi, > > Maybe you should list the position where there is a problem of "unpack > non-sequence" about blkdev_name_to_number > I only found some usages of blkdev_name_to_number which only accept one > return value, and the left value is not a tuple apparently.Yes, sorry about that. I posted a patch earlier today which should fix the rest of the blkdev_name_to_number fixes, and between that and the other os.stat() fix, hopefully that should fix it up. Chris Lalancette _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Apparently Analagous Threads
- [PATCH] tools/python: fix TypeError for 17903:0728459b3c8d
- [PATCH] Fix xentop on pv-ops domain0
- [PATCH]Fix the issue that guest cannot boot if set empty cdrom in config file
- [PATCH] VNIF: Using smart polling instead of event notification.
- [PATCH] nvmx: fix resource relinquish for nested VMX