Searched hist:"79 c053bde9fa40595670ae274d047da07f1df88c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 79c053bde9fa40595670ae274d047da07f1df88c Tue Feb 07 07:27:26 CST 2012 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> block: perform zero-detection during copy-on-read
Copy-on-Read populates the image file with data read from a backing image. In order to avoid bloating the image file when all zeroes are read we should scan the buffer and perform an optimized zero write operation.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|