[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, 29 May 2012, M A Young wrote:

On Tue, 2012-05-29 at 12:30 +0100, Ian Jackson wrote:
And, would shutil.copyfileobj be of any use ?  It goes back as far as
Python 2.3 at least.

It might do. I suspect that the fsimage is sufficiently like a file for that to work, though it would need to be tested.

I did some testing and it isn't sufficiently like a file, I think because it doesn't have a file pointer so it just reads the same bytes over and over again.

        Michael Young

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.