qemu-patch-raspberry4/migration
Liang Li b3be28969b qemu-file: Fix qemu_put_compression_data flaw
Current qemu_put_compression_data can only work with no writable
QEMUFile, and can't work with the writable QEMUFile. But it does
not provide any measure to prevent users from using it with a
writable QEMUFile.

We should fix this flaw to make it works with writable QEMUFile.

Signed-off-by: Liang Li <liang.z.li@intel.com>
Suggested-by: Juan Quintela <quintela@redhat.com>
Message-Id: <1462433579-13691-5-git-send-email-liang.z.li@intel.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
2016-06-17 18:24:18 +05:30
..
block.c migration/block: Convert saving to BlockBackend 2016-06-08 10:21:08 +02:00
exec.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
fd.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
Makefile.objs migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
migration.c migration: Don't use *_to_cpup() and cpu_to_*w() 2016-06-17 18:23:49 +05:30
postcopy-ram.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00
qemu-file-channel.c migration: introduce a new QEMUFile impl based on QIOChannel 2016-05-26 11:31:24 +05:30
qemu-file.c qemu-file: Fix qemu_put_compression_data flaw 2016-06-17 18:24:18 +05:30
qjson.c migration/qjson: Drop gratuitous use of QOM 2016-05-23 14:16:12 +05:30
ram.c qemu-file: Fix qemu_put_compression_data flaw 2016-06-17 18:24:18 +05:30
rdma.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
savevm.c migration: fix inability to save VM after snapshot 2016-06-17 18:23:57 +05:30
socket.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
tls.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
vmstate.c migration: Trace improvements 2016-06-17 18:23:53 +05:30
xbzrle.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00