On Thu, Mar 25, 2021 at 12:29:37PM +0100, Paolo Bonzini wrote: > From: David Edmondson <[email protected]> > > Given that the block size is read from the header of the VDI file, a > wide variety of sizes might be seen. Rather than re-using a block > sized memory region when writing the VDI header, allocate an > appropriately sized buffer. > > Signed-off-by: David Edmondson <[email protected]> > Message-Id: <[email protected]> > Acked-by: Max Reitz <[email protected]> > Signed-off-by: Paolo Bonzini <[email protected]> > --- > block/vdi.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
