[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH RESEND v2 0/2] Fix flaw of qemu_put_compression_data
From: |
Liang Li |
Subject: |
[Qemu-devel] [PATCH RESEND v2 0/2] Fix flaw of qemu_put_compression_data |
Date: |
Fri, 15 Jan 2016 18:08:13 +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 | 20 ++++++++------------
2 files changed, 29 insertions(+), 14 deletions(-)
--
1.9.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH RESEND v2 0/2] Fix flaw of qemu_put_compression_data,
Liang Li <=