Re: [Qemu-devel] [PATCH 4/5] qemu-file: Fix qemu_put_compression_data flaw

2016-05-04 Thread Li, Liang Z
> Liang Li wrote: > > 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

Re: [Qemu-devel] [PATCH 4/5] qemu-file: Fix qemu_put_compression_data flaw

2016-05-04 Thread Juan Quintela
Liang Li wrote: > 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 QEMU

[Qemu-devel] [PATCH 4/5] qemu-file: Fix qemu_put_compression_data flaw

2016-05-03 Thread Liang Li
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. Suggested-by: Juan Qu