* [Qemu-devel] [PATCH RESEND v2 0/2] Fix flaw of qemu_put_compression_data
@ 2016-01-15 10:08 Liang Li
0 siblings, 0 replies; only message in thread
From: Liang Li @ 2016-01-15 10:08 UTC (permalink / raw)
To: qemu-devel; +Cc: amit.shah, zhang.zhanghailiang, Liang Li, dgilbert, quintela
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-15 10:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-15 10:08 [Qemu-devel] [PATCH RESEND v2 0/2] Fix flaw of qemu_put_compression_data Liang Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).