mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-08-26 22:23:12 -04:00
migrate_add_blocker() can fail (e.g. if migration is already in progress), in which case it returns a negative value and populates its errp argument with the reason. The previous code ignored the return value. Pass &error_fatal so that on failure QEMU exits cleanly with an informative error message rather than continuing in an inconsistent state. Resolves: CID 1645470 Signed-off-by: Trieu Huynh <vikingtc4@gmail.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Tested-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Link: https://lore.kernel.org/qemu-devel/20260317134733.126584-1-vikingtc4@gmail.com Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> |
||
|---|---|---|
| .. | ||
| api-system.c | ||
| api-user.c | ||
| api.c | ||
| core.c | ||
| loader.c | ||
| meson.build | ||
| plugin.h | ||
| system.c | ||
| user.c | ||
| win32_linker.c | ||