Re: [Qemu-devel] [PATCH] migration: fix analyze-migration.py script with radix table

2017-12-05 Thread Greg Kurz
On Tue, 5 Dec 2017 13:27:40 +0100 Laurent Vivier wrote: > Since commit 3a38429748 ("Add a "no HPT" encoding to HTAB migration stream") > the HTAB migration stream contains a header set to "-1", meaning there > is no HPT. Teach analyze-migration.py to ignore the section in this case. > > Without

Re: [Qemu-devel] [PATCH] migration: fix analyze-migration.py script with radix table

2017-12-05 Thread Dr. David Alan Gilbert
* David Gibson (da...@gibson.dropbear.id.au) wrote: > On Tue, Dec 05, 2017 at 12:44:40PM +, Dr. David Alan Gilbert wrote: > > * Laurent Vivier (lviv...@redhat.com) wrote: > > > Since commit 3a38429748 ("Add a "no HPT" encoding to HTAB migration > > > stream") > > > the HTAB migration stream co

Re: [Qemu-devel] [PATCH] migration: fix analyze-migration.py script with radix table

2017-12-05 Thread David Gibson
On Tue, Dec 05, 2017 at 12:44:40PM +, Dr. David Alan Gilbert wrote: > * Laurent Vivier (lviv...@redhat.com) wrote: > > Since commit 3a38429748 ("Add a "no HPT" encoding to HTAB migration stream") > > the HTAB migration stream contains a header set to "-1", meaning there > > is no HPT. Teach ana

Re: [Qemu-devel] [PATCH] migration: fix analyze-migration.py script with radix table

2017-12-05 Thread Dr. David Alan Gilbert
* Laurent Vivier (lviv...@redhat.com) wrote: > Since commit 3a38429748 ("Add a "no HPT" encoding to HTAB migration stream") > the HTAB migration stream contains a header set to "-1", meaning there > is no HPT. Teach analyze-migration.py to ignore the section in this case. > > Without this fix, the

[Qemu-devel] [PATCH] migration: fix analyze-migration.py script with radix table

2017-12-05 Thread Laurent Vivier
Since commit 3a38429748 ("Add a "no HPT" encoding to HTAB migration stream") the HTAB migration stream contains a header set to "-1", meaning there is no HPT. Teach analyze-migration.py to ignore the section in this case. Without this fix, the script fails with a dump from a POWER9 guest: Traceba