Skip to content

hw/core: Unify hotplug decision logic

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest6 patches 3 repliesIn review

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6hw/qdev: Pass bus argument to qdev_hotplug_allowed()hw/core/qdev-hotplug.c include/hw/qdev-core.h system/qdev-monitor.c+3 -30 replies
2/6hw/qdev: Factor qdev_hotunplug_allowed() outhw/core/qdev-hotplug.c include/hw/qdev-core.h system/qdev-monitor.c+7 -10 replies
3/6hw/qdev: Introduce qdev_hotplug_unplug_allowed_common()hw/core/qdev-hotplug.c+12 -10 replies
4/6hw/qdev: Check DevClass::hotpluggable in hotplug_unplug_allowed_commonhw/core/qdev-hotplug.c system/qdev-monitor.c+10 -90 replies
5/6hw/qdev: Check qbus_is_hotpluggable in hotplug_unplug_allowed_commonhw/core/qdev-hotplug.c system/qdev-monitor.c+8 -110 replies
6/6hw/qdev: Check machine_hotplug_handler in hotplug_unplug_allowed_commonhw/core/qdev-hotplug.c system/qdev-monitor.c+10 -110 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIgor Mammedov
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/6] hw/core: Unify hotplug decision logic

Akihiko's v4 patch was doing too many things at once to my taste, so I split it to follow dumbly each steps.
https://lore.kernel.org/qemu-devel/[email protected]/

Akihiko Odaki (6):
hw/qdev: Pass bus argument to qdev_hotplug_allowed() hw/qdev: Factor qdev_hotunplug_allowed() out
hw/qdev: Introduce qdev_hotplug_unplug_allowed_common() hw/qdev: Check DevClass::hotpluggable in hotplug_unplug_allowed_common hw/qdev: Check qbus_is_hotpluggable in hotplug_unplug_allowed_common hw/qdev: Check machine_hotplug_handler in
hotplug_unplug_allowed_common

 include/hw/qdev-core.h |  3 ++-
 hw/core/qdev-hotplug.c | 42 +++++++++++++++++++++++++++++++++++++++++-
 system/qdev-monitor.c  | 37 +++++--------------------------------
 3 files changed, 48 insertions(+), 34 deletions(-)
Signature · 1 line
2.47.1