|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] make pygrub cope better with big files in guest
On Tue, 2012-05-29 at 12:30 +0100, Ian Jackson wrote:
> Ian Jackson writes ("Re: [Xen-devel] [PATCH] make pygrub cope better with big
> files in guest"):
> > Also the two bits of code which read the kernel and ramdisk are now
> > much larger and very similar to each other. Couldn't this be
> > refactored to have less duplication ?
>
> And, would shutil.copyfileobj be of any use ? It goes back as far as
> Python 2.3 at least.
I think, although I'm not sure, that the objects which libfsimage gives
out aren't actually File's in the python type sense.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |