On Tue 20 Oct 2020 04:22:43 PM CEST, Wang, Wei W wrote: > Ok, thanks. I'm thinking QEMU could do decompression of the compressed > data in raw.img when guest reads data.
The qcow2 format already supports compression and it's already transparent to the guest, so you can use that. As Kevin said if it's compressed it's no longer raw so you would be creating a new type of file format. Berto