diff options
author | Laurent Vivier <lvivier@redhat.com> | 2021-11-16 08:28:40 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-11-22 11:14:28 +0100 |
commit | 4067691a2fed9a7639b1264b07c131d8e11f2b4f (patch) | |
tree | 3f092e04afc78390a2e07702968758fb87752999 /hw/i386/microvm-dt.c | |
parent | 2e572baf659f5a457c876c6b2d02a217afb401c5 (diff) |
migration: fix dump-vmstate with modules
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: device module support")
Cc: kraxel@redhat.com
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211116072840.132731-1-lvivier@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/i386/microvm-dt.c')
0 files changed, 0 insertions, 0 deletions