qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v3 0/2] Fix flaw of qemu_put_compression_data


From: Liang Li
Subject: [Qemu-devel] [PATCH v3 0/2] Fix flaw of qemu_put_compression_data
Date: Thu, 25 Feb 2016 11:50:25 +0800

The implementation of qemu_put_compression_data only consider the case
QEMUFile is writable, it can't work with a writable QEMUFile and does
not provide any measure to prevent users from using it with a writable
QEMUFile. For safety, it should be improved to avoid some issues.

ram_save_compressed_page can be refined based on the change of
qemu_put_compression_data, very small improvement, but code looks better.

Liang Li (2):
  qemu-file: Fix qemu_put_compression_data flaw
  migration: refine ram_save_compressed_page

 migration/qemu-file.c |   23 +++++++++++++++++++++--
 migration/ram.c       |   34 ++++++++++++++++++----------------
 2 files changed, 39 insertions(+), 18 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]