Re: [PATCH] migration: fix dump-vmstate with modules

2021-11-21 Thread Laurent Vivier
I think it would be good to have this in 6.2 Thanks, Laurent On 16/11/2021 08:28, Laurent Vivier wrote: To work correctly -dump-vmstate and vmstate-static-checker.py need to dump all the supported vmstates. But as some devices can be modules, they are not loaded at startup and not dumped. Fix

[PATCH] migration: fix dump-vmstate with modules

2021-11-15 Thread Laurent Vivier
To work correctly -dump-vmstate and vmstate-static-checker.py need to dump all the supported vmstates. But as some devices can be modules, they are not loaded at startup and not dumped. Fix that by loading all available modules before dumping the machine vmstate. Fixes: 7ab6e7fcce97 ("qdev: devic