summary refs log tree commit diff stats
path: root/python/qemu/machine/machine.py
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2021-11-16 08:28:40 +0100
committerGerd Hoffmann <kraxel@redhat.com>2021-11-22 11:14:28 +0100
commit4067691a2fed9a7639b1264b07c131d8e11f2b4f (patch)
tree3f092e04afc78390a2e07702968758fb87752999 /python/qemu/machine/machine.py
parent2e572baf659f5a457c876c6b2d02a217afb401c5 (diff)
downloadfocaccia-qemu-4067691a2fed9a7639b1264b07c131d8e11f2b4f.tar.gz
focaccia-qemu-4067691a2fed9a7639b1264b07c131d8e11f2b4f.zip
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 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions