qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] Fix flaw of qemu_put_compression_data
@ 2016-02-25  3:50 Liang Li
  2016-02-25  3:50 ` [Qemu-devel] [PATCH v3 1/2] qemu-file: Fix qemu_put_compression_data flaw Liang Li
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Liang Li @ 2016-02-25  3:50 UTC (permalink / raw)
  To: quintela, amit.shah; +Cc: zhang.zhanghailiang, Liang Li, qemu-devel, dgilbert

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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-09 11:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25  3:50 [Qemu-devel] [PATCH v3 0/2] Fix flaw of qemu_put_compression_data Liang Li
2016-02-25  3:50 ` [Qemu-devel] [PATCH v3 1/2] qemu-file: Fix qemu_put_compression_data flaw Liang Li
2016-02-25  3:50 ` [Qemu-devel] [PATCH v3 2/2] migration: refine ram_save_compressed_page Liang Li
2016-03-09  8:41 ` [Qemu-devel] [PATCH v3 0/2] Fix flaw of qemu_put_compression_data Li, Liang Z
2016-03-09  8:44   ` Li, Liang Z
2016-03-09 11:01   ` Amit Shah

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).