Re: [PATCH v2 3/5] libxenguest: "standardize" LZO kernel decompression code

2021-01-25 Thread Ian Jackson
Jan Beulich writes ("Re: [PATCH v2 3/5] libxenguest: "standardize" LZO kernel decompression code"): > On 25.01.2021 12:59, Ian Jackson wrote: > > I don't mind throwing in the DOMPRINTF too. > > Am I fine to transliterate this into R-a-b? Err, yes, sorry, should have been more explicit. Ian.

Re: [PATCH v2 3/5] libxenguest: "standardize" LZO kernel decompression code

2021-01-25 Thread Jan Beulich
On 25.01.2021 12:59, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH v2 3/5] libxenguest: "standardize" LZO kernel > decompression code"): >> On Tue, Jan 19, 2021 at 04:16:35PM +0100, Jan Beulich wrote: >>> Add a DOMPRINTF() other method

Re: [PATCH v2 3/5] libxenguest: "standardize" LZO kernel decompression code

2021-01-25 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH v2 3/5] libxenguest: "standardize" LZO kernel decompression code"): > On Tue, Jan 19, 2021 at 04:16:35PM +0100, Jan Beulich wrote: > > Add a DOMPRINTF() other methods have, indicating success. To facilitate > > this, introduce an

Re: [PATCH v2 3/5] libxenguest: "standardize" LZO kernel decompression code

2021-01-21 Thread Wei Liu
On Tue, Jan 19, 2021 at 04:16:35PM +0100, Jan Beulich wrote: > Add a DOMPRINTF() other methods have, indicating success. To facilitate > this, introduce an "outsize" local variable and update *size as well as > *blob only once done. The latter then also avoids leaving a pointer to > freed memory

[PATCH v2 3/5] libxenguest: "standardize" LZO kernel decompression code

2021-01-19 Thread Jan Beulich
Add a DOMPRINTF() other methods have, indicating success. To facilitate this, introduce an "outsize" local variable and update *size as well as *blob only once done. The latter then also avoids leaving a pointer to freed memory in dom->kernel_blob in case of a decompression error. Signed-off-by: