Use qemu_put_compression_data to do the compression directly
instead of using do_compress_ram_page, avoid some data copy.
very small improvement, but the code looks better.
Signed-off-by: Liang Li
---
migration/ram.c | 20
1 file changed, 8 insertions(+), 12 deletions(-)
di
Use qemu_put_compression_data to do the compression directly
instead of using do_compress_ram_page, avoid some data copy.
very small improvement, but the code looks better.
Signed-off-by: Liang Li
---
migration/ram.c | 20
1 file changed, 8 insertions(+), 12 deletions(-)
di