qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] (no subject)
@ 2016-01-15 10:06 Liang Li
  2016-01-15 10:06 ` [Qemu-devel] [PATCH RESEND v2 1/2] qemu-file: Fix qemu_put_compression_data flaw Liang Li
  2016-01-15 10:06 ` [Qemu-devel] [PATCH RESEND v2 2/2] migration: refine ram_save_compressed_page Liang Li
  0 siblings, 2 replies; 8+ messages in thread
From: Liang Li @ 2016-01-15 10:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: amit.shah, zhang.zhanghailiang, Liang Li, dgilbert, quintela

Subject: [PATCH RESEND v2 0/2] Fix flaw of qemu_put_compression_data

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] 8+ messages in thread

end of thread, other threads:[~2016-02-25  2:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-15 10:06 [Qemu-devel] (no subject) Liang Li
2016-01-15 10:06 ` [Qemu-devel] [PATCH RESEND v2 1/2] qemu-file: Fix qemu_put_compression_data flaw Liang Li
2016-02-23  9:03   ` Li, Liang Z
2016-02-23  9:56     ` Juan Quintela
2016-02-24  2:01       ` Li, Liang Z
2016-02-24 11:37         ` Juan Quintela
2016-02-25  1:59           ` Li, Liang Z
2016-01-15 10:06 ` [Qemu-devel] [PATCH RESEND v2 2/2] migration: refine ram_save_compressed_page 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).