On Thu 22 Feb 2018 08:00:08 PM CET, Eric Blake wrote: >> One consequence of this is that even if the size field is larger than >> it needs to be QEMU can handle it just fine: it will read more data >> from disk but it will ignore the extra bytes. > > (is that true even for the corner case when the size field points > beyond the end of the image? But not important to the meat of the > patch)
As a matter of fact this is exactly what happens in this test case... I'm thinking to expand it so both cases are tested. Berto