[PATCH v2 0/1] module: Move local_err initialization to the loop in module_load_qom_all()

Alexander Ivanov posted 1 patch 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240812085725.1093540-1-alexander.ivanov@virtuozzo.com
util/module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2 0/1] module: Move local_err initialization to the loop in module_load_qom_all()
Posted by Alexander Ivanov 1 year, 6 months ago
After updating QEMU modules previously executed QEMU processes crash
on module loading. It happens because error_setg() calls with a not NULL
errp argument.

There is a discussion - https://issues.redhat.com/browse/RHEL-29848

Note: The commit subject was changed. Previously it was called "module:
Prevent crash by resetting local_err in  module_load_qom_all()"

v2: Move local_err initialization inside the loop.

Alexander Ivanov (1):
  module: Move local_err initialization to the loop in
    module_load_qom_all()

 util/module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.43.0