Re: xen: Fix parsing of XZ kernel.

2017-02-07 Thread Vladimir 'phcoder' Serbinenko
On Tue, 7 Feb 2017, 12:57 Andrei Borzenkov wrote: > > > Отправлено с iPhone > > > 7 февр. 2017 г., в 0:51, Vladimir 'phcoder' Serbinenko < > phco...@gmail.com> написал(а): > > > > In case of xz, the uncompressed size is appended to xz data which > confuses > > our xz decompressor. Trim it. > > >

Re: xen: Fix parsing of XZ kernel.

2017-02-07 Thread Andrei Borzenkov
Отправлено с iPhone > 7 февр. 2017 г., в 0:51, Vladimir 'phcoder' Serbinenko > написал(а): > > In case of xz, the uncompressed size is appended to xz data which confuses > our xz decompressor. Trim it. > > Daniel, Andrei, Alexander, do you agree that this should go into 2.02? > --- > grub-c

xen: Fix parsing of XZ kernel.

2017-02-06 Thread Vladimir 'phcoder' Serbinenko
In case of xz, the uncompressed size is appended to xz data which confuses our xz decompressor. Trim it. Daniel, Andrei, Alexander, do you agree that this should go into 2.02? --- grub-core/loader/i386/xen_file.c | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-