<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Dec 7, 2018 at 8:50 PM Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Dec 07, 2018 at 07:55:28PM +0200, Nir Soffer wrote:<br>
> Replace python 2 only "buffer" with "memoryview".<br>
> <br>
> Falling back to emulated zero would fail with:<br>
> <br>
>     NameError: name 'buffer' is not defined<br>
> <br>
> I did not test the changed code but it was not tested before so it is<br>
> unlikely to be worse.<br>
> <br>
> Detected by pylint.<br>
<br>
Thanks - I pushed both.<br>
<br>
I wonder how the pread method worked before?  That's on the main path<br>
I think.<br></blockquote><div><br></div><div>I never seen a READ request on imageio log, so it seems that qemu-img convert</div><div>never read from the destination.</div><div><br></div><div>Nir</div></div></div>