Skip to content

Fix crashes related to -global option

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qdev: Don't abort() in case globals can't be sethw/core/qdev.c+7 -10 replies
2/2qdev: Fix crash when using non-device class name on -globalhw/core/qdev-properties-system.c+2 -13 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichael S. TsirkinIgor MammedovEric BlakeDon Slutz
1/2R-b R-b
2/2R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.1 0/2] Fix crashes related to -global option

Patch 1 (which was submitted previously but has fallen through the cracks) fixes:

        $ qemu-system-x86_64 -global cpu.xxx=y
        qemu-system-x86_64: Property '.xxx' not found
        Aborted (core dumped)

Patch 2 fixes:

        $ qemu-system-x86_64 -global container.xxx=y
        hw/core/qdev-properties-system.c:399:qdev_add_one_global: Object 0x7f7eff234100 is not an instance of type device
        Aborted (core dumped)

Eduardo Habkost (2):
qdev: Don't abort() in case globals can't be set
qdev: Fix crash when using non-device class name on -global

 hw/core/qdev-properties-system.c | 3 ++-
 hw/core/qdev.c                   | 8 +++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.3