Re: [PATCH 1/2] migration/compress: compress QEMUFile is not writable

2020-01-27 Thread Juan Quintela
"Dr. David Alan Gilbert" wrote: > * Wei Yang (richardw.y...@linux.intel.com) wrote: >> We open a file with empty_ops for compress QEMUFile, which means this is >> not writable. > > That explanation sounds reasonable; but I'm confused by the history of > this; the code was added by Liang Li in :

Re: [PATCH 1/2] migration/compress: compress QEMUFile is not writable

2019-11-07 Thread Wei Yang
On Thu, Nov 07, 2019 at 11:59:10AM +, Dr. David Alan Gilbert wrote: >* Wei Yang (richardw.y...@linux.intel.com) wrote: >> We open a file with empty_ops for compress QEMUFile, which means this is >> not writable. > >That explanation sounds reasonable; but I'm confused by the history of >this;

Re: [PATCH 1/2] migration/compress: compress QEMUFile is not writable

2019-11-07 Thread Dr. David Alan Gilbert
* Wei Yang (richardw.y...@linux.intel.com) wrote: > We open a file with empty_ops for compress QEMUFile, which means this is > not writable. That explanation sounds reasonable; but I'm confused by the history of this; the code was added by Liang Li in : b3be289 qemu-file: Fix

[PATCH 1/2] migration/compress: compress QEMUFile is not writable

2019-10-11 Thread Wei Yang
We open a file with empty_ops for compress QEMUFile, which means this is not writable. Signed-off-by: Wei Yang --- migration/qemu-file.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/migration/qemu-file.c b/migration/qemu-file.c index